tiodocomputador

Untitled

May 13th, 2015
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   int azul = 1;
  2.   int vermelho = 0;
  3.   void setup()
  4. {
  5.   Serial.begin(9600);
  6. }
  7. void loop()
  8. {
  9.   delay(300);
  10.  
  11.   if(azul == 2)
  12.   {
  13.      Serial.println("ABC") ;
  14.   }
  15.   else if ((vermelho == 0) &&  (azul == 1))
  16.   {
  17.              Serial.println("123") ;
  18.   }  
  19. }
Advertisement
Add Comment
Please, Sign In to add comment