Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: N5110 ShiftReg Tone mbed
Fork of 1620_Project_Template by
Diff: ModeB/ModeB.cpp
- Revision:
- 0:d5312060f649
- Child:
- 2:0f91b789d90a
diff -r 000000000000 -r d5312060f649 ModeB/ModeB.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ModeB/ModeB.cpp Wed Mar 08 20:05:58 2017 +0000
@@ -0,0 +1,18 @@
+#include "ModeB.h"
+
+void mode_B()
+{
+
+ lcd.clear();
+ lcd.printString("Mode B",0,0);
+ lcd.refresh();
+ wait_ms(250);
+
+ while (button_b.read() == 0) {
+
+ // code goes in here - this acts like the main while(1) loop
+
+
+ }
+
+}
\ No newline at end of file
