Advertisement
RuiViana

Blink

Apr 26th, 2017
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.25 KB | None | 0 0
  1. #define xpto 5
  2. void setup()
  3. {
  4.   pinMode(xpto, OUTPUT);
  5.   Serial.begin(115200);
  6.   Serial.println("Programa iniciado!!!");
  7.   delay(1000);
  8. }
  9.  
  10. void loop()
  11. {
  12.   digitalWrite(xpto, HIGH);
  13.   delay(500);
  14.   digitalWrite(xpto, LOW);
  15.   delay(500);
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement