automotive simulation thingy

Dependencies:   N5110 ShiftReg Tone mbed

Fork of 1620_Project_Template by Craig Evans

Revision:
0:d5312060f649
Child:
2:e7e39d27b11f
diff -r 000000000000 -r d5312060f649 ModeC/ModeC.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ModeC/ModeC.cpp	Wed Mar 08 20:05:58 2017 +0000
@@ -0,0 +1,18 @@
+#include "ModeC.h"
+
+void mode_C()
+{
+
+    lcd.clear();
+    lcd.printString("Mode C",0,0);
+    lcd.refresh();
+    wait_ms(250);  // small delay to prevent previous press being detected again
+
+    while (button_c.read() == 0) {
+
+        // code goes in here - this acts like the main while(1) loop
+
+
+    }
+
+}
\ No newline at end of file