Lucas Borges
/
MenuLCD_Copy
this locks like shit
Fork of MenuLCD_copy by
menbed/include/menbedRefresher.h@1:f105b690aeb7, 2017-05-19 (annotated)
- Committer:
- LucasMatBorges
- Date:
- Fri May 19 18:48:04 2017 +0000
- Revision:
- 1:f105b690aeb7
- Parent:
- 0:92357d1220f3
R?row mein
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ViniR | 0:92357d1220f3 | 1 | #ifndef _MENBEDREFRESHER_H_ |
ViniR | 0:92357d1220f3 | 2 | #define _MENBEDREFRESHER_H_ |
ViniR | 0:92357d1220f3 | 3 | |
ViniR | 0:92357d1220f3 | 4 | #include "mbed.h" |
ViniR | 0:92357d1220f3 | 5 | #include "menbedNavigator.h" |
ViniR | 0:92357d1220f3 | 6 | |
ViniR | 0:92357d1220f3 | 7 | class MenbedRefresher |
ViniR | 0:92357d1220f3 | 8 | { |
ViniR | 0:92357d1220f3 | 9 | public: |
ViniR | 0:92357d1220f3 | 10 | MenbedRefresher (MenbedNavigator *navigator); |
ViniR | 0:92357d1220f3 | 11 | MenbedRefresher (MenbedNavigator *navigator, uint32_t refreshPeriod_us); |
ViniR | 0:92357d1220f3 | 12 | void refreshed (void); |
ViniR | 0:92357d1220f3 | 13 | |
ViniR | 0:92357d1220f3 | 14 | protected: |
ViniR | 0:92357d1220f3 | 15 | Ticker ticker; |
ViniR | 0:92357d1220f3 | 16 | MenbedNavigator *navigator; |
ViniR | 0:92357d1220f3 | 17 | uint32_t refreshPeriod_us; |
ViniR | 0:92357d1220f3 | 18 | }; |
ViniR | 0:92357d1220f3 | 19 | |
ViniR | 0:92357d1220f3 | 20 | |
ViniR | 0:92357d1220f3 | 21 | #endif /* _MENBEDREFRESHER_H_ */ |