Vinícius Alves
/
MenuLCD_copy
Então PARA...
menbed/include/menbedRefresher.h@0:92357d1220f3, 2017-05-19 (annotated)
- Committer:
- ViniR
- Date:
- Fri May 19 13:07:52 2017 +0000
- Revision:
- 0:92357d1220f3
Ent?o PARA...
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_ */ |