A DTMF sequence editor and player for HAM radio equipment command & control.

Dependencies:   mbed ExtTextLCD

Revision:
0:1324e7d9d471
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/interactive_state.cpp	Mon Mar 07 22:51:19 2011 +0000
@@ -0,0 +1,17 @@
+#include "system_states.hpp"
+#include "system.hpp"
+#include "display_manager.hpp"
+
+void InteractiveState::updateText() const {
+    DisplayManager *display = system()->display();
+    display->hideCursor();
+    display->writeText(system()->text());
+    
+    updateCursor();
+}
+
+void InteractiveState::updateCursor() const {
+    DisplayManager *display = system()->display();
+    display->moveTo(system()->cursor());
+    display->showCursor();
+}