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: mbed
Fork of BeaconDemo_RobotCodeNew by
Diff: PsiSwarm/i2c.cpp
- Revision:
- 7:ef9ab01b9e26
- Parent:
- 6:ff3c66f7372b
- Child:
- 10:1b09d4bb847b
--- a/PsiSwarm/i2c.cpp Thu Oct 22 00:46:14 2015 +0000
+++ b/PsiSwarm/i2c.cpp Thu Oct 22 13:28:17 2015 +0000
@@ -270,6 +270,7 @@
}
//Halt the system if settings flag is set and all v-regs are bad [usually this means robot is switched off!]
if(HALT_ON_ALL_VREGS_LOW && !power_good_motor_left && !power_good_motor_right && !power_good_infrared){
+ debug("- PROGRAM HALTED. Check that robot is switched on!\n");
while(1){
mbed_led1=1;
mbed_led2=0;
