Stipa

AnalogReadtoSerial

Aug 15th, 2019
370
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <AnalogMultiButton.h>
  2. const int BUTTONS_PIN = A0;
  3. void setup() {
  4.   Serial.begin(9600);//  setup serial
  5. }
  6. void loop() {
  7.   Serial.println(analogRead(BUTTONS_PIN));
  8. }
Advertisement
Add Comment
Please, Sign In to add comment