Template code for ELEC1620 mini-project (automotive electronics)
Dependencies: N5110 ShiftReg Tone mbed
Diff: ModeD/ModeD.cpp
- Revision:
- 0:d5312060f649
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ModeD/ModeD.cpp Wed Mar 08 20:05:58 2017 +0000 @@ -0,0 +1,17 @@ +#include "ModeD.h" + +void mode_D() { + + lcd.clear(); + lcd.printString("Mode D",0,0); + lcd.refresh(); + wait_ms(250); + + while (button_d.read() == 0) { + + // code goes in here - this acts like the main while(1) loop + + + } + +} \ No newline at end of file