State machine

Dependencies:   mbed Adafruit_GFX BioroboticsMotorControl MODSERIAL BioroboticsEMGFilter

Revision:
6:bfc6e68774f5
Parent:
5:2632dfc8454c
Child:
15:f65b4566193e
diff -r 2632dfc8454c -r bfc6e68774f5 Screen.h
--- a/Screen.h	Tue Oct 30 11:56:48 2018 +0000
+++ b/Screen.h	Tue Oct 30 12:19:51 2018 +0000
@@ -49,14 +49,14 @@
         oled.setTextCursor(0, 0);
         oled.printf("- ");
         oled.printf(name.c_str());
-        oled.printf(" -");
+        oled.printf(" -\r\n");
         display();
     }
 
     // Returns a direct handle to the screen.
     // Be carefull while using the handle.
-    Adafruit_SSD1306_I2c get_screen_handle() {
-        return oled;
+    Adafruit_SSD1306_I2c* get_screen_handle() {
+        return &oled;
     }
     
 };
\ No newline at end of file