Local library
Dependencies: WakeUp PinDetect
Dependents: Inductive_Sensor Inductive_Sensor_Jasper Inductive_Sensor_3
Diff: Bob.h
- Revision:
- 4:9c3c8eb56a2b
- Parent:
- 3:68c005d410e1
- Child:
- 5:c2468a69aacb
--- a/Bob.h Mon Jan 18 15:41:23 2016 +0000 +++ b/Bob.h Wed Mar 30 12:00:43 2016 +0000 @@ -18,10 +18,11 @@ Bob(PinName redled, PinName greenled, PinName sd_enable, PinName sd_present, PinName battery, PinName V_Det); bool checkSD(void); - void sleep(int s); + + void beforesleep(void); + void sleep(uint32_t ms); void wakeup(void); - void SDoff(void); - void SDon(void); + float battery(void); void flash(int n); void flash_red(int n);