set for 8Mhz 9600 BAUD, reduces error rate too 0.2%
This commit is contained in:
parent
2fe8981c13
commit
dae9842a97
|
@ -15,8 +15,8 @@
|
||||||
* AVR D1 --> AT-09 RX
|
* AVR D1 --> AT-09 RX
|
||||||
* AVR D2 --> AT-09 State
|
* AVR D2 --> AT-09 State
|
||||||
*/
|
*/
|
||||||
#define FOSC 1000000
|
#define FOSC 8000000
|
||||||
#define BLE_BAUD 9600
|
#define BLE_BAUD 9600
|
||||||
#define BT_UBRR FOSC/16/BLE_BAUD - 1
|
#define BT_UBRR FOSC/16/BLE_BAUD - 1
|
||||||
|
|
||||||
#define TX_PIN PIND0
|
#define TX_PIN PIND0
|
||||||
|
|
Loading…
Reference in New Issue