Untitled
unknown
c_cpp
24 days ago
303 B
2
Indexable
Never
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 }
Leave a Comment