System Management code
Dependencies: mbed CANBuffer Watchdog MODSERIAL mbed-rtos xbeeRelay IAP
Fork of SystemManagement by
Diff: IOobjects/IOobjects.cpp
- Revision:
- 39:ddf38df9699e
- Parent:
- 38:8efacce315ae
--- a/IOobjects/IOobjects.cpp Sat Feb 07 08:54:51 2015 +0000 +++ b/IOobjects/IOobjects.cpp Wed Feb 11 23:09:57 2015 +0000 @@ -21,9 +21,9 @@ IMD imd(P1_26); // IMD PWM sense channel to read status and resistance (IMD PWM PIN) LatchMonitor AMSlatch(P0_18, P0_22); // Supervisor for AMS hardware latch/reset circuit (OK PIN, FAULT PIN, STARTUP DELAY (ms)) LatchMonitor IMDlatch(P0_17, P0_21); // Supervisor for IMD hardware latch/reset circuit (OK PIN, FAULT PIN, STARTUP DELAY (ms)) -MODSERIAL pc(USBTX, USBRX, 1, RX_SIZE); // Serial to computer for diagnostics, 3kB output buffer, 256 byte input buffer DC_DC dcdc(p18, p20, p26, p25, p24, p23, 0.01, 5, 1);// DC-DC converter & high-current load control (CONTROL PIN, CURRENT SENSE PIN, FAN1 PIN, FAN2 PIN, PUMP1 PIN, PUMP2 PIN, PWM PERIOD (sec), FULL-SCALE SLEW (sec)) Temperature internalTmp(&NXFT15XH103_TABLE, p15); // Temperature conversion look-up table for internal temperature on the GLV bat charger FET (TABLE PTR, PIN) -XbeeManager xbeeRelay(p9, p10, p13, p14, XBEE_BAUD, 1, 1); -//XbeeRelay xbee; +//XbeeManager xbeeRelay(p9, p10, p13, p14, XBEE_BAUD, 1, 1); +MODSERIAL pc(USBTX, USBRX, 1, RX_SIZE); // Software buffered serial +XbeeRelay xbee; DigitalOut extras[] = {(p16), (p17)}; // Unused analog pins driven low