Advertisement
jmyean

Turning on 1 LED

Mar 25th, 2019
106
0
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.  
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement