Final project repo for ECE 495
Dependencies: Adafruit_GFX_MBED Adafruit_ILI9341 BurstSPI DS1820 mbed mbed-rtos ltc2991_lib
Diff: display/Display.cpp
- Revision:
- 5:c1c710391df2
- Parent:
- 0:7ba4e0775670
--- a/display/Display.cpp Thu Dec 08 20:50:14 2016 +0000 +++ b/display/Display.cpp Wed Dec 14 07:01:33 2016 +0000 @@ -14,7 +14,7 @@ _needs_init = 1; } -void Display::next_screen() { +void Display::switch_screen() { if (_cur_screen_index == _num_screens - 1) { _cur_screen_index = 0; } @@ -32,3 +32,7 @@ } _cur_screen->update(); } + +void Display::error(char *msg) { + _cur_screen->error(msg); +} \ No newline at end of file