display a graph of temperature from the NTC on the OLED

Dependencies:   SSD1308_128x64_I2C Grove_temperature

Committer:
dcj001
Date:
Wed Dec 11 16:38:09 2019 +0000
Revision:
0:50a79669d4e7
display a graph of temperature from the NTC on the OLED

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dcj001 0:50a79669d4e7 1 #ifndef WAVE_H
dcj001 0:50a79669d4e7 2 #define WAVE_H
dcj001 0:50a79669d4e7 3
dcj001 0:50a79669d4e7 4 #include "mbed.h"
dcj001 0:50a79669d4e7 5
dcj001 0:50a79669d4e7 6 class Temperature{
dcj001 0:50a79669d4e7 7 public:
dcj001 0:50a79669d4e7 8 Temperature();
dcj001 0:50a79669d4e7 9 ~Temperature();
dcj001 0:50a79669d4e7 10 void calcPage(void);
dcj001 0:50a79669d4e7 11 void calcValue(void);
dcj001 0:50a79669d4e7 12
dcj001 0:50a79669d4e7 13 uint8_t u8_page; // 0 ~ 7 The display page
dcj001 0:50a79669d4e7 14 uint8_t u8_col; // 0 ~127
dcj001 0:50a79669d4e7 15 uint8_t u8_temperature; // 0 ~ 64
dcj001 0:50a79669d4e7 16 uint8_t u8_value; //I2c data that will be sent to I2C
dcj001 0:50a79669d4e7 17 };
dcj001 0:50a79669d4e7 18
dcj001 0:50a79669d4e7 19 #endif