The document contains code to read the state of a button connected to analog pin A0 and send the character 'a' or 'b' over serial based on if the button is pressed or not.
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
84 views
Arduino
The document contains code to read the state of a button connected to analog pin A0 and send the character 'a' or 'b' over serial based on if the button is pressed or not.