test de premier push
Dependencies: WakeUp mbed EPD_GDE021A1
Headers/states.h@3:b1bd437675c5, 2016-11-07 (annotated)
- Committer:
- mathieusab
- Date:
- Mon Nov 07 21:19:09 2016 +0000
- Revision:
- 3:b1bd437675c5
ajout de states.h
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mathieusab | 3:b1bd437675c5 | 1 | /* |
mathieusab | 3:b1bd437675c5 | 2 | ETATS DE LA MACHINE A ETAT |
mathieusab | 3:b1bd437675c5 | 3 | */ |
mathieusab | 3:b1bd437675c5 | 4 | |
mathieusab | 3:b1bd437675c5 | 5 | #ifndef CODE_HEADERS_STATES_H_ |
mathieusab | 3:b1bd437675c5 | 6 | #define CODE_HEADERS_STATES_H_ |
mathieusab | 3:b1bd437675c5 | 7 | |
mathieusab | 3:b1bd437675c5 | 8 | typedef enum // définit des états pour la machine à état |
mathieusab | 3:b1bd437675c5 | 9 | { |
mathieusab | 3:b1bd437675c5 | 10 | Start, // départ |
mathieusab | 3:b1bd437675c5 | 11 | DeepSleepShort, // mise en veille courte (le jour) |
mathieusab | 3:b1bd437675c5 | 12 | DeepSleepLong, // mise en veille longue (la nuit) |
mathieusab | 3:b1bd437675c5 | 13 | MesPHT, // mesure du poids, humidité et température |
mathieusab | 3:b1bd437675c5 | 14 | MesGPS, // mesure de la position GPS |
mathieusab | 3:b1bd437675c5 | 15 | Send // envoi sur sigfox |
mathieusab | 3:b1bd437675c5 | 16 | } |
mathieusab | 3:b1bd437675c5 | 17 | State; |
mathieusab | 3:b1bd437675c5 | 18 | |
mathieusab | 3:b1bd437675c5 | 19 | #endif /* CODE_HEADERS_STATE_H_ */ |