Final project repo for ECE 495
Dependencies: Adafruit_GFX_MBED Adafruit_ILI9341 BurstSPI DS1820 mbed mbed-rtos ltc2991_lib
Diff: display/screens/Screen.h
- Revision:
- 0:7ba4e0775670
- Child:
- 5:c1c710391df2
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/display/screens/Screen.h Tue Nov 29 16:56:43 2016 +0000 @@ -0,0 +1,22 @@ +#ifndef SCREEN_H +#define SCREEN_H + +#include "mbed.h" +#include "Adafruit_ILI9341.h" + +class Screen { +public: + + Screen(int id, Adafruit_ILI9341 *tft); + + virtual void init() = 0; + virtual void update() = 0; + +protected: + + int _id; + Adafruit_ILI9341 *_tft; + +}; + +#endif \ No newline at end of file