4 //#define USART_BAUD_RATE 9600
5 #define USART_BAUD_RATE 115200
6 // BT HC-06 physical layer runs at 128kbps
7 // so it's possible to gain a little bit by using 230400
8 // with some risk to overflow its internal buffers:
9 //#define USART_BAUD_RATE 230400
11 #define USART_BUFFLEN 512
12 #define USART_FIFOLEN (2*USART_BUFFLEN)
14 // Higher baudrates are pointless, only increasing overflow risk
16 #define USART_PARITY 'N'
19 #define SERIAL_PORT_EXAMPLE_H "com3"
20 #elif defined(__APPLE__)
21 #define SERIAL_PORT_EXAMPLE_H "/dev/tty.usbmodemiceman1"
23 #define SERIAL_PORT_EXAMPLE_H "/dev/ttyACM0"