test de premier push

Dependencies:   WakeUp mbed EPD_GDE021A1

Committer:
mathieusab
Date:
Tue Nov 08 06:54:41 2016 +0000
Revision:
9:ffd0b6da3dcd
Parent:
2:9cb6de68e3de
Child:
25:8653757bdddf
Cr?ation de la classe Period et sa fonction get()

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mathieusab 2:9cb6de68e3de 1 /*
mathieusab 2:9cb6de68e3de 2 PERIODE DE LA JOURNEE
mathieusab 2:9cb6de68e3de 3 */
mathieusab 2:9cb6de68e3de 4
mathieusab 9:ffd0b6da3dcd 5 class Period
mathieusab 2:9cb6de68e3de 6 {
mathieusab 9:ffd0b6da3dcd 7 public:
mathieusab 9:ffd0b6da3dcd 8 typedef enum
mathieusab 9:ffd0b6da3dcd 9 {
mathieusab 9:ffd0b6da3dcd 10 Day, // jour
mathieusab 9:ffd0b6da3dcd 11 Night // nuit (t'avais pas deviné hein)
mathieusab 9:ffd0b6da3dcd 12 }
mathieusab 9:ffd0b6da3dcd 13 Period_t;
mathieusab 9:ffd0b6da3dcd 14
mathieusab 9:ffd0b6da3dcd 15 Period_t get(); // fonction qui renvoie Day ou Night en fonction de l'heure
mathieusab 9:ffd0b6da3dcd 16 };
mathieusab 2:9cb6de68e3de 17
mathieusab 9:ffd0b6da3dcd 18