set for 8Mhz 9600 BAUD, reduces error rate too 0.2%
This commit is contained in:
parent
ae1a5d5947
commit
de5aa05fb8
|
@ -15,7 +15,7 @@
|
||||||
* 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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue