refactor xbee complet
Fork of Repo_Noeud_Mobile by
Embed:
(wiki syntax)
Show/hide line numbers
CountDown.h
00001 #include "rtos.h" 00002 #include "mbed.h" 00003 00004 #define NBRE_LED 4 00005 00006 // petite classe utilitaire pour commancer un countDown avec les LED du LPC. 00007 // run() est une fonction bloquant necessaire pour le pooling . 00008 00009 class CountDown 00010 { 00011 public: 00012 CountDown(int time = 4000); 00013 ~CountDown(); 00014 bool run(); 00015 private: 00016 int t; 00017 DigitalOut* led[4]; 00018 };
Generated on Thu Jul 21 2022 13:34:51 by
1.7.2
