Final project repo for ECE 495
Dependencies: Adafruit_GFX_MBED Adafruit_ILI9341 BurstSPI DS1820 mbed mbed-rtos ltc2991_lib
display/screens/current/CurrentScreen.h@5:c1c710391df2, 2016-12-14 (annotated)
- Committer:
- bdk9
- Date:
- Wed Dec 14 07:01:33 2016 +0000
- Revision:
- 5:c1c710391df2
- Parent:
- 0:7ba4e0775670
big update yo
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bdk9 | 0:7ba4e0775670 | 1 | #ifndef CURRENTSCREEN_H |
bdk9 | 0:7ba4e0775670 | 2 | #define CURRENTSCREEN_H |
bdk9 | 0:7ba4e0775670 | 3 | |
bdk9 | 0:7ba4e0775670 | 4 | #include "Screen.h" |
bdk9 | 0:7ba4e0775670 | 5 | #include "mbed.h" |
bdk9 | 0:7ba4e0775670 | 6 | #include "Adafruit_ILI9341.h" |
bdk9 | 0:7ba4e0775670 | 7 | |
bdk9 | 0:7ba4e0775670 | 8 | class CurrentScreen : public Screen { |
bdk9 | 0:7ba4e0775670 | 9 | |
bdk9 | 0:7ba4e0775670 | 10 | public: |
bdk9 | 0:7ba4e0775670 | 11 | CurrentScreen(int id, Adafruit_ILI9341 *tft); |
bdk9 | 0:7ba4e0775670 | 12 | |
bdk9 | 0:7ba4e0775670 | 13 | virtual void init(); |
bdk9 | 0:7ba4e0775670 | 14 | virtual void update(); |
bdk9 | 5:c1c710391df2 | 15 | virtual void error(char *msg); |
bdk9 | 5:c1c710391df2 | 16 | |
bdk9 | 0:7ba4e0775670 | 17 | }; |
bdk9 | 0:7ba4e0775670 | 18 | |
bdk9 | 0:7ba4e0775670 | 19 | #endif |