Advertisement
RuiViana

Untitled

May 13th, 2015
321
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  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. if (vermelho == 0)
  16. {
  17. if (azul == 1)
  18. {
  19. Serial.println("123") ;
  20. }
  21. }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement