Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
|
wiki:divers:preparation_are_2019 [2019/01/09 16:10] Christian Simon |
wiki:divers:preparation_are_2019 [2019/01/09 16:14] (Version actuelle) Christian Simon |
||
|---|---|---|---|
| Ligne 19: | Ligne 19: | ||
| Le code : | Le code : | ||
| - | <WRAP center round box 60%> | + | <code> |
| - | + | ||
| - | ; | + | |
| #include < | #include < | ||
| - | unsigned long temps\; | + | unsigned long temps; |
| - | char affichage[12]\; | + | char affichage[12]; |
| - | int sensorPin = 2\; | + | int sensorPin = 2; |
| // the setup routine runs once when M5Stack starts up | // the setup routine runs once when M5Stack starts up | ||
| void setup() { | void setup() { | ||
| Ligne 63: | Ligne 61: | ||
| M5.Lcd.fillScreen(BLACK); | M5.Lcd.fillScreen(BLACK); | ||
| M5.update(); | M5.update(); | ||
| - | } | + | }</code> |
| - | </WRAP> | + | |