jmyean

1 Blinking LED

Mar 25th, 2019
77
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const byte LedPin=9;
  2.  
  3. void setup() {
  4.   pinMode(LedPin, OUTPUT);
  5.   Serial.begin(9600);
  6. }
  7. void loop() {
  8.   digitalWrite(LedPin, HIGH);
  9.   delay(1000);
  10.   digitalWrite(LedPin, LOW);
  11.   delay(1000);
  12. }
RAW Paste Data