Lucas Borges
/
MenuLCD_Copy
this locks like shit
Fork of MenuLCD_copy by
Diff: menbed/include/menbedRefresher.h
- Revision:
- 0:92357d1220f3
diff -r 000000000000 -r 92357d1220f3 menbed/include/menbedRefresher.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/menbed/include/menbedRefresher.h Fri May 19 13:07:52 2017 +0000 @@ -0,0 +1,21 @@ +#ifndef _MENBEDREFRESHER_H_ +#define _MENBEDREFRESHER_H_ + +#include "mbed.h" +#include "menbedNavigator.h" + +class MenbedRefresher +{ +public: + MenbedRefresher (MenbedNavigator *navigator); + MenbedRefresher (MenbedNavigator *navigator, uint32_t refreshPeriod_us); + void refreshed (void); + +protected: + Ticker ticker; + MenbedNavigator *navigator; + uint32_t refreshPeriod_us; +}; + + +#endif /* _MENBEDREFRESHER_H_ */ \ No newline at end of file