Team Alpha / Mbed 2 deprecated UserIntefaceLCD

Dependencies:   mbed mbed-rtos MLX90614

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Thermometer.h Source File

Thermometer.h

00001 #include "Item.h"
00002 
00003 
00004 class Thermometer: public Item {
00005     public:
00006         Thermometer(ST7565 *lcd, Item *back, DigitalOut *gyro, DigitalOut *thermo);
00007         
00008         //inherited functions
00009         virtual void display(void);
00010         virtual void update(char c);
00011         
00012     private:
00013         Thread *tt;
00014     
00015         DigitalOut *gyro, *thermo;
00016         char * title;
00017         static void tt_start(const void *args);
00018         void display_temperature();
00019 };