kh
Dependencies: mbed PinDetect Servo
Diff: powerManagement.h
- Revision:
- 2:04bbd14722bd
- Parent:
- 1:2c365f6da61d
--- a/powerManagement.h Sat Nov 10 20:08:46 2018 +0000 +++ b/powerManagement.h Mon Nov 12 23:36:11 2018 +0000 @@ -1,22 +1,23 @@ -/* -* Authors: Group 4 Adam Elghor, Brian Kaplan, Sayak Chatterjee, Moraa Onwonga -* Purpose: Controls Input and Output Data -* Language: C -*/ +/* +* Authors: Group 4 Adam Elghor, Brian Kaplan, Sayak Chatterjee, Moraa Onwonga +* Purpose: Controls Input and Output Data +* Language: C +*/ + +/* +* Function: powerSavingMode +* -------------------- +* Controls what is on while the safe is on this mode +*/ +void powerSavingMode(); + +/* +* Function: getBatteryLevels +* -------------------- +* Get the battery level for the safe +* +* returns: the battery level for the safe +* +*/ +int getBatteryLevels(); -/* -* Function: powerSavingMode -* -------------------- -* Controls what is on while the safe is on this mode -*/ -void powerSavingMode(); - -/* -* Function: getBatteryLevels -* -------------------- -* Get the battery level for the safe -* -* returns: the battery level for the safe -* -*/ -int getBatteryLevels();