Project

General

Profile

Revision 1562

updated baud rate code (it works for 9600 and 115200 now, haven't tested the others)

View differences:

serial.h
126 126
// if no baud rate is defined for xbee, default is set here
127 127
#ifndef XBEE_BAUD
128 128
/** @brief the XBee baud rate **/
129
#define XBEE_BAUD 9600
129
//#define XBEE_BAUD 9600
130 130
//#define XBEE_BAUD_STR "9600"
131
//#define XBEE_BAUD 115200
131
#define XBEE_BAUD 115200
132 132
#define XBEE_BAUD_STR "115200"
133 133
#endif
134 134

  

Also available in: Unified diff