Untitled

 avatar
unknown
c_cpp
10 months ago
303 B
6
Indexable
void setup() { 
  // initialize digital pin D1 (GPIO5) as an output.
  pinMode(5, OUTPUT); 
} 

void loop() { 
  digitalWrite(5, HIGH);   // turn the LED on 
  delay(1000);             // wait for a second
  digitalWrite(5, LOW);    // turn the LED off 
  delay(1000);             // wait for a second
}
Editor is loading...
Leave a Comment