System Management code
Dependencies: mbed CANBuffer Watchdog MODSERIAL mbed-rtos xbeeRelay IAP
Fork of SystemManagement by
Diff: Constants.h
- Revision:
- 36:0afc0fc8f86b
- Parent:
- 33:6bc82b6b62e5
- Child:
- 38:8efacce315ae
--- a/Constants.h Wed Jan 07 03:36:43 2015 +0000 +++ b/Constants.h Thu Jan 22 07:58:51 2015 +0000 @@ -1,10 +1,10 @@ #ifndef CONSTANTS_H #define CONSTATNS_H -#define BAUD 460800 // Serial port baud rate -#define CHAR_TIME 0.00002 // Time to send 1 char @ above baud +#define BAUD 230400 // Serial port baud rate +#define CHAR_TIME 0.00005 // Time to send 1 char @ above baud #define TX_SIZE 1000 // Serial buffer TX size -#define RX_SIZE 100 // Serial buffer RX size +#define RX_SIZE 60 // Serial buffer RX size #define XBEE_BAUD 250000 // 250k baud serial for xbees #define XBEE_TX_SIZE 1000 // Serial buffer TX size for xbees @@ -13,7 +13,7 @@ #define START_DELAY 10 // Startup delay for latch monitor circuits #define FAST_LOOP 0.01 // Period (seconds) for fast loop (sampling, filters) #define GATHER_LOOP 0.1 // Period (seconds) for main data processing loop -#define WDT_TIME 0.1 // Normal, running mode WDT timeout +#define WDT_TIME 0.5 // Normal, running mode WDT timeout #define CAN_LOOP 0.1 // Output period for CAN transmissions #endif \ No newline at end of file