![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
display a graph of temperature from the NTC on the OLED
Dependencies: SSD1308_128x64_I2C Grove_temperature
Diff: mysource/wave.h
- Revision:
- 0:50a79669d4e7
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mysource/wave.h Wed Dec 11 16:38:09 2019 +0000 @@ -0,0 +1,19 @@ +#ifndef WAVE_H +#define WAVE_H + +#include "mbed.h" + +class Temperature{ +public: + Temperature(); + ~Temperature(); + void calcPage(void); + void calcValue(void); + + uint8_t u8_page; // 0 ~ 7 The display page + uint8_t u8_col; // 0 ~127 + uint8_t u8_temperature; // 0 ~ 64 + uint8_t u8_value; //I2c data that will be sent to I2C +}; + +#endif \ No newline at end of file