this locks like shit

Dependencies:   MenuLCD mbed

Fork of MenuLCD_copy by Vinícius Alves

menbed/include/menbedRefresher.h

Committer:
ViniR
Date:
2017-05-19
Revision:
0:92357d1220f3

File content as of revision 0:92357d1220f3:

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