set for 8Mhz 9600 BAUD, reduces error rate too 0.2%

This commit is contained in:
Jake Goodwin 2023-01-13 22:48:19 -08:00
parent ae1a5d5947
commit de5aa05fb8
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
* AVR D1 --> AT-09 RX
* AVR D2 --> AT-09 State
*/
#define FOSC 1000000
#define FOSC 8000000
#define BLE_BAUD 9600
#define BT_UBRR FOSC/16/BLE_BAUD - 1