Simulation – Button with 16×2 LCD display

For this project we will print on the LCD display how many times we pressed the button.

Select the used inputs and outputs on the simulator. In this case we use a LED on digital pins 13, LCD display on digital pins 12, 11, 5, 4, 3  and a button on digital pin 10. Connect the Arduino with the COM port in the simulator and start the simulation.

Arduino code