this locks like shit

Dependencies:   MenuLCD mbed

Fork of MenuLCD_copy by Vinícius Alves

menbed/include/menbedRefresher.h

Committer:
LucasMatBorges
Date:
2017-05-19
Revision:
1:f105b690aeb7
Parent:
0:92357d1220f3

File content as of revision 1:f105b690aeb7:

#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_ */