kh
Dependencies: mbed PinDetect Servo
powerManagement.cpp
00001 /* 00002 * Authors: Group 4 Adam Elghor, Brian Kaplan, Sayak Chatterjee, Moraa Onwonga 00003 * Purpose: Controls Input and Output Data 00004 * Language: C 00005 */ 00006 #include "powerManagement.h" 00007 #include "parameters.h" 00008 00009 int batteryLevels; 00010 00011 /* 00012 * Function: powerSavingMode 00013 * -------------------- 00014 * Controls what is on while the safe is on this mode 00015 */ 00016 void powerSavingMode() { 00017 //however we decide to implement 00018 } 00019 00020 /* 00021 * Function: getBatteryLevels 00022 * -------------------- 00023 * Get the battery level for the safe 00024 * 00025 * returns: the battery level for the safe 00026 * 00027 */ 00028 int getBatteryLevels() { 00029 //EDIT LATER maybe have it send a notification in the future 00030 return batteryLevels; 00031 } 00032
Generated on Wed Jul 13 2022 11:24:16 by 1.7.2