Error message

Notice: Trying to get property 'total_page_loads' of non-object in eval() (line 16 of /Sites/Drupal.Fossee.All.Sites/modules/php/php.module(80) : eval()'d code).

Display counter using Arduino

Link

Outline - 

Connect an LCD and a Push button to Arduino board.

Use the same circuit created earlier using Arduino and LCD Add a pushbutton and make a simple counter.

Learn the connection circuit details and check the live setup of the connection.

Write a program in the Arduino IDE write the code for void loop write a simple if statement to check whether the pushbutton is pressed or not Compile and upload the program.

See that pushbutton is working successfully Modify the program to set a counter Explain the error that occurs Write a while statement Again compile and upload the program Output: count is increased whenever the button is pressed