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: EthernetInterface LM75B mbed-rtos mbed
Diff: Setup.cpp
- Revision:
- 5:665ba017d54e
- Parent:
- 3:fbf3c92f10ee
- Child:
- 6:4f13276fd1e2
diff -r 7906049f6cca -r 665ba017d54e Setup.cpp --- a/Setup.cpp Fri Mar 16 16:31:32 2018 +0000 +++ b/Setup.cpp Sun Mar 18 13:29:52 2018 +0000 @@ -50,21 +50,21 @@ int Setup::chooseMode() { lcd.printMode(); - lcd.printSlave(); + lcd.printMasterSlave(mode); while(fire != 0){} while(fire == 0){ if(joy.read() == 8) { if(mode == 1){ mode=0; lcd.printMode(); - lcd.printSlave(); + lcd.printMasterSlave(mode); } } else if(joy.read() == 4) { if(mode == 0){ mode=1; lcd.printMode(); - lcd.printMaster(); + lcd.printMasterSlave(mode); } } }