State machine
Dependencies: mbed Adafruit_GFX BioroboticsMotorControl MODSERIAL BioroboticsEMGFilter
Diff: Screen.h
- Revision:
- 5:2632dfc8454c
- Parent:
- 4:5a44ab7e94b3
- Child:
- 6:bfc6e68774f5
diff -r 5a44ab7e94b3 -r 2632dfc8454c Screen.h --- a/Screen.h Tue Oct 30 11:52:50 2018 +0000 +++ b/Screen.h Tue Oct 30 11:56:48 2018 +0000 @@ -41,10 +41,11 @@ oled.display(); } + // State names can be a maximum of 17 characters long. void display_state_name(string name) { // Clear a previous title. oled.setTextCursor(0, 0); - oled.printf(" "); + oled.printf(" "); oled.setTextCursor(0, 0); oled.printf("- "); oled.printf(name.c_str());