apuntes_Arduino/leds/Semaforo/Semaforo.ino
jp.av.dev 85bf8bb429 proyectos renombrados, reestructuracion
pendientes crear, indexar y linkear readmes
2022-04-04 01:11:04 -04:00

16 lines
327 B
C++
Executable File

// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(10, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
for (int i = 0; i <= 255; i++) {
analogWrite(10, i);
delay(10);
}
}