LCD implementation of our project.
Dependencies: mbed mbed-rtos MLX90614
Diff: LevelMeter.h
- Revision:
- 5:5b1a8ad6c187
- Parent:
- 3:688b62ff6474
- Child:
- 6:49a007861c76
--- a/LevelMeter.h Mon May 25 14:46:39 2015 +0000 +++ b/LevelMeter.h Thu May 28 16:07:00 2015 +0000 @@ -9,18 +9,17 @@ class LevelMeter: public Item { public: //constructors - LevelMeter(ST7565 *lcd, Item * back){ - this->st7565 = lcd; - this->title = " Level meter"; - this->back = back; - } + LevelMeter(ST7565 *lcd, Item * back); //inherited functions virtual void display(void); virtual void update(char c); private: - void draw_circles(double rX, double rY); - void update_degrees(double degrees); + Thread *lt; + + void draw_elements(double rx, double ry); + static void lt_start(void const *args); + void update_cross(void); }; \ No newline at end of file