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
ModeA/ModeA.cpp
- Committer:
 - eencae
 - Date:
 - 2017-03-08
 - Revision:
 - 0:d5312060f649
 - Child:
 - 2:e7e39d27b11f
 
File content as of revision 0:d5312060f649:
#include "ModeA.h"
void mode_A() {
    
    lcd.clear();
    lcd.printString("Mode A",0,0);
    lcd.refresh();
    wait_ms(250);  // small delay to prevent previous press being detected again
    while (button_a.read() == 0) {
        
        // code goes in here - this acts like the main while(1) loop
        
    }
}
            
    