This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
knightrider [2019/10/07 17:07] leo |
knightrider [2019/10/07 17:21] (current) leo |
||
|---|---|---|---|
| Line 3: | Line 3: | ||
| //Coche fantastico con 6 LEDS | //Coche fantastico con 6 LEDS | ||
| - | #define LEDINICIO | + | #define LEDINICIO 14 |
| - | #define LEDFIN | + | #define LEDFIN 19 |
| int i; | int i; | ||
| void setup() { | void setup() { | ||
| - | for(i=LEDINICIO,i<=LEDFIN;i++){ | + | for(i=LEDINICIO,i<=LEDFIN;i++) |
| - | pinMode(i,OUTPUT); | + | pinMode(i,OUTPUT); |
| } | } | ||