Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed CANBuffer Watchdog MODSERIAL mbed-rtos xbeeRelay IAP
Fork of SystemManagement by
Diff: SysMngmt.cpp
- Revision:
- 11:1d086618dd18
- Parent:
- 10:db13782f05d9
- Child:
- 12:e0adb697fcdb
--- 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.
+
+*/
/*
