How to Simulate JHD-2x16-I2C LCD with Arduino in Proteus (No Hardware Needed)

In this tutorial, I’ll show you how to simulate a 16x2 character LCD using the I2C protocol (PCF8574 backpack) inside . The best part? You don't need a physical LCD, a soldering iron, or even pull-up resistors. Let's dive in.

However, in its default library. If you search for it, you won't find it. So, how do we simulate it? We build it.

void setup() { lcd.init(); // Initialize the LCD lcd.backlight(); // Turn on backlight (if wired) lcd.setCursor(0, 0); lcd.print("JHD in Proteus!"); lcd.setCursor(0, 1); lcd.print("I2C works fine!"); }