this locks like shit

Dependencies:   MenuLCD mbed

Fork of MenuLCD_copy by Vinícius Alves

menbed/include/menbedDisplayer.h

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

File content as of revision 0:92357d1220f3:

#ifndef _MENBEDDISPLAYER_H_
#define _MENBEDDISPLAYER_H_

#include "menbedMenuMessage.h"
#include "menbedDisplay.h"

class MenbedDisplayer {
public:
    MenbedDisplayer (MenbedDisplay *display);
    void update (MenbedMenuMessage *menuMessage);
    MenbedDisplay *getDisplay (void) {return display;}
protected:
    MenbedDisplay *display;
    
    void extractLine (char *catenatedText, uint8_t lineNum, char *extractedText);
};

#endif /* _MENBEDDISPLAYER_H_ */