Final project repo for ECE 495

Dependencies:   Adafruit_GFX_MBED Adafruit_ILI9341 BurstSPI DS1820 mbed mbed-rtos ltc2991_lib

Committer:
bdk9
Date:
Tue Nov 29 16:56:43 2016 +0000
Revision:
0:7ba4e0775670
Child:
5:c1c710391df2
published

Who changed what in which revision?

UserRevisionLine numberNew contents of line
bdk9 0:7ba4e0775670 1 #ifndef SCREEN_H
bdk9 0:7ba4e0775670 2 #define SCREEN_H
bdk9 0:7ba4e0775670 3
bdk9 0:7ba4e0775670 4 #include "mbed.h"
bdk9 0:7ba4e0775670 5 #include "Adafruit_ILI9341.h"
bdk9 0:7ba4e0775670 6
bdk9 0:7ba4e0775670 7 class Screen {
bdk9 0:7ba4e0775670 8 public:
bdk9 0:7ba4e0775670 9
bdk9 0:7ba4e0775670 10 Screen(int id, Adafruit_ILI9341 *tft);
bdk9 0:7ba4e0775670 11
bdk9 0:7ba4e0775670 12 virtual void init() = 0;
bdk9 0:7ba4e0775670 13 virtual void update() = 0;
bdk9 0:7ba4e0775670 14
bdk9 0:7ba4e0775670 15 protected:
bdk9 0:7ba4e0775670 16
bdk9 0:7ba4e0775670 17 int _id;
bdk9 0:7ba4e0775670 18 Adafruit_ILI9341 *_tft;
bdk9 0:7ba4e0775670 19
bdk9 0:7ba4e0775670 20 };
bdk9 0:7ba4e0775670 21
bdk9 0:7ba4e0775670 22 #endif