Hardware components | ||||||
![]() |
| × | 1 | |||
![]() |
| × | 1 | |||
![]() |
| × | 1 | |||
![]() |
| × | 2 | |||
![]() |
| × | 1 | |||
Software apps and online services | ||||||
| ||||||
![]() |
| |||||
int myLED = 12; // assign LED to digital pin 12
void setup(){ // setup the device
pinMode(myLED, OUTPUT); // assign myLED as OUTPUT device
}
void loop(){ // repeate the programs
digitalWrite(myLED, HIGH); // switch the LED ON
delay(500); // delay in 500 milliseconds
digitalWrite(myLED, LOW); // switch the LED OFF
delay(500);
}


_ztBMuBhMHo.jpg?auto=compress%2Cformat&w=48&h=48&fit=fill&bg=ffffff)





Comments