daily pastebin goal
10%
SHARE
TWEET

Untitled

a guest Dec 9th, 2018 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const int but1=4;
  2. int ReadVal1;
  3.  
  4. void setup() {
  5.   // put your setup code here, to run once:
  6. pinMode (but1, INPUT);
  7. Serial.begin (9600);
  8.  
  9. }
  10.  
  11.  
  12. void loop() {
  13.   // put your main code here, to run repeatedly:
  14. ReadVal1 = digitalRead(but1);
  15.  
  16. Serial.println(ReadVal1);
  17.  
  18. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top