LCD implementation of our project.
Dependencies: mbed mbed-rtos MLX90614
Thermometer.h@10:97389d774ae1, 2015-06-03 (annotated)
- Committer:
- ovidiup13
- Date:
- Wed Jun 03 17:42:47 2015 +0000
- Revision:
- 10:97389d774ae1
- Parent:
- 8:81ed1135ba02
working version, comment out thermo in main;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ovidiup13 | 8:81ed1135ba02 | 1 | #include "Item.h" |
ovidiup13 | 8:81ed1135ba02 | 2 | |
ovidiup13 | 8:81ed1135ba02 | 3 | |
ovidiup13 | 8:81ed1135ba02 | 4 | class Thermometer: public Item { |
ovidiup13 | 8:81ed1135ba02 | 5 | public: |
ovidiup13 | 8:81ed1135ba02 | 6 | Thermometer(ST7565 *lcd, Item *back, DigitalOut *gyro, DigitalOut *thermo); |
ovidiup13 | 8:81ed1135ba02 | 7 | |
ovidiup13 | 8:81ed1135ba02 | 8 | //inherited functions |
ovidiup13 | 8:81ed1135ba02 | 9 | virtual void display(void); |
ovidiup13 | 8:81ed1135ba02 | 10 | virtual void update(char c); |
ovidiup13 | 8:81ed1135ba02 | 11 | |
ovidiup13 | 8:81ed1135ba02 | 12 | private: |
ovidiup13 | 8:81ed1135ba02 | 13 | Thread *tt; |
ovidiup13 | 8:81ed1135ba02 | 14 | |
ovidiup13 | 8:81ed1135ba02 | 15 | DigitalOut *gyro, *thermo; |
ovidiup13 | 8:81ed1135ba02 | 16 | char * title; |
ovidiup13 | 8:81ed1135ba02 | 17 | static void tt_start(const void *args); |
ovidiup13 | 8:81ed1135ba02 | 18 | void display_temperature(); |
ovidiup13 | 8:81ed1135ba02 | 19 | }; |