SHARE
TWEET

conveur

a guest Feb 14th, 2020 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void setup()
  2. {
  3.   pinMode(2, INPUT);
  4.   pinMode(3, INPUT);
  5.   pinMode(4, INPUT);
  6.  
  7.   pinMode(5, OUTPUT);
  8.   pinMode(6, OUTPUT);
  9.  
  10.   Serial.begin(9600);
  11.  
  12.   digitalWrite(5, 1);
  13.   digitalWrite(6, 0);  
  14.   while(digitalRead(3) == 1);
  15.   digitalWrite(5, 0);
  16.   digitalWrite(6, 0);  
  17. }
  18.  
  19. void loop() {
  20.  
  21. }
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