This project demonstrates the ability of the Wokwi Arduino simulator. You can write code on ATtiny85 to drive an LCD2004 (4 rows, 20 column hardware) by yourself. You can learn to program as well as see the code in action. No hardare needed.
The code for the project is fairly simple.
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27, 20, 4); // set the LCD address to 0x27 for a 16 chars and 2 line display
void setup()
{
lcd.init(); // initialize the lcd
// Print a message to the LCD.
lcd.backlight();
lcd.setCursor(3, 0);
lcd.print("Hello, world!");
lcd.setCursor(2, 1);
lcd.print("LiquidCrystal_I2C");
lcd.setCursor(1, 2);
lcd.print("Running on ATtiny85");
lcd.setCursor(2, 3);
lcd.print("using ATTinyCore");
}
void loop()
{
}
The project link is here: https://wokwi.com/arduino/projects/306656045893157440
You can play with the simulation, write your own code and run it online for free. No login is necessary!
Support/feedback/suggestions?you have many ways to ask for help, suggest a feature or share your feedback
- Open an issue on GitHub
- Visit Facebook group
- Hop on to Discord Server!
- leave a comment here 😅
Comments