test de premier push
Dependencies: WakeUp mbed EPD_GDE021A1
Sources/standby.cpp@27:221ee2a91664, 2016-11-25 (annotated)
- Committer:
- mathieusab
- Date:
- Fri Nov 25 06:56:49 2016 +0000
- Revision:
- 27:221ee2a91664
- Parent:
- 24:b1c29d839d9b
Appel depuis le main de la fonction send(); Faut verifier si la commande est bonne dans le send.cpp
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mathieusab | 24:b1c29d839d9b | 1 | #include "../Headers/standby.h" |
mathieusab | 24:b1c29d839d9b | 2 | #include "WakeUp.h" |
mathieusab | 24:b1c29d839d9b | 3 | |
mathieusab | 24:b1c29d839d9b | 4 | void standby(int duration) |
mathieusab | 24:b1c29d839d9b | 5 | { |
mathieusab | 24:b1c29d839d9b | 6 | WakeUp::calibrate(); |
mathieusab | 24:b1c29d839d9b | 7 | WakeUp::set(duration); |
mathieusab | 24:b1c29d839d9b | 8 | deepsleep(); |
mathieusab | 24:b1c29d839d9b | 9 | } |