In this project we will simulate a 16×2 LCD display, the autoscroll instruction will let the text autoscroll automatically when new chars are added. This example can be found by the examples provided in the simulator under ‘Liquid Crystal’.
The library that we installed with the simulator is available in the Arduino IDE. By adding the ‘#include <LiquidCrystalSim.h>’ code we will include the library for the simulator to it. The library will communicate with the Arduino Simulator thought the serial USB port.
Select the used inputs and outputs on the simulator, in this case we use only the LCD display with digital pins 12, 11, 5, 4, 3 and 2. Connect the Arduino with the COM port in the simulator and start simulating.