Touchscreen support graphics for setting up the RTC on the F746NG-DISCO board.
Dependents: DISCO-F746NG-clockSet DISCO-F746NG-clockSet-touch-demo
Diff: LCDclockSet.h
- Revision:
- 0:c6da6fc05965
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/LCDclockSet.h Fri Mar 04 00:28:23 2016 +0000 @@ -0,0 +1,20 @@ +#ifndef LCDCLOCKSET_H +#define LCDCLOCKSET_H + +#include "mbed.h" + +class LCDclockSet { + +public: + LCDclockSet(const char* name); + void DrawClockBlock(char chr); + void TouchClockBlock(int block_number, int value, bool erase); + void Draw12Block(int rot, uint32_t block_color, uint32_t text_color); + int Touch12Block(uint16_t x, uint16_t y); + +protected: +private: + +}; + +#endif \ No newline at end of file