![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
ft. button press reset
Fork of BeaconDemo_RobotCode 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;