System Management code
Dependencies: mbed CANBuffer Watchdog MODSERIAL mbed-rtos xbeeRelay IAP
Fork of SystemManagement by
Revision 11:1d086618dd18, committed 2014-10-19
- Comitter:
- martydd3
- Date:
- Sun Oct 19 22:50:30 2014 +0000
- Parent:
- 10:db13782f05d9
- Child:
- 12:e0adb697fcdb
- Commit message:
- Minor Edits
Changed in this revision
| SysMngmt.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/SysMngmt.cpp Sun Oct 19 22:46:46 2014 +0000
+++ b/SysMngmt.cpp Sun Oct 19 22:50:30 2014 +0000
@@ -1,21 +1,11 @@
/*
Reads CAN Messages and various data inputs, outputs using Xbee radio modules
- Revised Sept 30, 2014: Began analyzing and commenting program, trying to figure out what the hell it does (Martin Deng)
-*/
-
-//#include "SysMngmt.h"
-
-/*
-#include "Get_IMD.h"
-#include "PollSwitch.h"
-#include "TemperatureRead.h"
+ Revised Oct 19, 2014: First team repository version
*/
#include "Store_RTC.h"
#include "XBee_Lib.h"
-
-
#include "CANBuffer.h"
#include "mbed.h"
@@ -29,7 +19,7 @@
#include "CurrentMonitor.h"
CANBuffer rxBuffer(CAN1, MEDIUM);
-//XBee250x XbeeTx;
+XBee250x XbeeTx;
Serial pc1(USBTX,USBRX);
char sys_src_id = 4; // source address of system management
@@ -88,9 +78,11 @@
} // main while loop
}
+/*
-//Possible problems in IMD coz change of counter
-//Possible problems in BatteryStatus coz change in library
+ Below is Kiran's old code, keeping it commented as a reference.
+
+*/
/*
