Arduino Digital Read Serial

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

The end result.

Pre-Knowledge.

Setup your Arduino.

http://brisbaneroboticsclub.id.au/setup-your-arduino/

References.

https://www.arduino.cc/en/Tutorial/DigitalReadSerial

Wiring Diagram.

See wiring diagram in references link.

Arduino Code.

File>Examples>01 Basics>DigitalReadSerial

View Serial Output.

Run the Code.

Upload the code to the Arduino. Open the Serial monitor. Press the button.

The output should change from ‘0’ to ‘1’.

If there is no change, make sure the button is connected to the bread board properly and all connections are secure.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.