Template code for ELEC1620 mini-project (automotive electronics)

Dependencies:   N5110 ShiftReg Tone mbed

ModeB/ModeB.cpp

Committer:
eencae
Date:
2017-03-13
Revision:
1:76241e21ec61
Parent:
0:d5312060f649

File content as of revision 1:76241e21ec61:

#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


    }

}