Final project repo for ECE 495

Dependencies:   Adafruit_GFX_MBED Adafruit_ILI9341 BurstSPI DS1820 mbed mbed-rtos ltc2991_lib

Revision:
0:7ba4e0775670
Child:
5:c1c710391df2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/display/Display.h	Tue Nov 29 16:56:43 2016 +0000
@@ -0,0 +1,31 @@
+
+#ifndef DISPLAY_H
+#define DISPLAY_H
+
+#include "Adafruit_ILI9341.h"
+#include "mbed.h"
+#include "Screen.h"
+
+
+class Display {
+
+public:
+    Display(); 
+    
+    void set_screens(Screen **screens, int num);
+    void next_screen();
+    void update();
+        
+private:
+    
+    void get_current_screen();
+    void get_num_screens();   
+    
+    int _needs_init;
+    Screen **_screens;
+    int _num_screens;
+    Screen *_cur_screen;
+    int _cur_screen_index;
+    
+};
+#endif
\ No newline at end of file