Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

Arduino LED code

#define LED 13  // The pin the LED is connected to
void setup() {
  pinMode(LED, OUTPUT); // Declare the LED as an output
}

void loop() {
  digitalWrite(LED, HIGH); // Turn the LED on
}
Source by create.arduino.cc #
 
PREVIOUS NEXT
Tagged: #Arduino #LED #code
ADD COMMENT
Topic
Name
7+5 =