test de premier push
Dependencies: WakeUp mbed EPD_GDE021A1
Diff: Sources/main.cpp
- Revision:
- 12:ec54a73ea7ec
- Parent:
- 8:d82493cd0916
- Child:
- 13:0afb541c480e
- Child:
- 20:5e0466126e9f
--- a/Sources/main.cpp Tue Nov 08 19:39:01 2016 +0000 +++ b/Sources/main.cpp Wed Nov 09 16:31:57 2016 +0000 @@ -21,26 +21,26 @@ switch(state) { case Start: - printf("State Start\n"); + pc.printf("State Start\n"); //TODO Test jour ou nuit //TODO SI jour, Etat suivant = DeepSleepShort //TODO SI nuit, Etat suivant = DeepSleepLong break; case DeepSleepShort: - printf("State DeepSleepShort\n"); + pc.printf("State DeepSleepShort\n"); //TODO Ajouter appel à standby(...) //TODO Etat suivant = Start break; case DeepSleepLong: - printf("State DeepSleepLong\n"); + pc.printf("State DeepSleepLong\n"); //TODO Ajouter appel à standby(...) //TODO Etat suivant = Start break; case MesPHT: - printf("State MesPHT\n"); + pc.printf("State MesPHT\n"); //TODO Ajouter appel à mesPHT(...) //TODO Test poids @@ -49,11 +49,11 @@ //TODO SINON Etat suivant = Send break; case MesGPS: - printf("State MesGPS\n"); + pc.printf("State MesGPS\n"); //TODO Ajouter appel à mesGPS(...) break; case Send: - printf("State Send\n"); + pc.printf("State Send\n"); //TODO Ajouter appel à send(...) //TODO Test jour ou nuit @@ -62,7 +62,7 @@ //TODO SI nuit, Etat suivant = DeepSleepLong break; default: - printf("State Error\n"); + pc.printf("State Error\n"); //TODO Etat suivant = Start }//end switch }//end while