Major changes to the XPLAINBridge software UART code for performance and reliability. New code reduces the number of missed characters and misread characters.
This commit is contained in:
parent
2b0d93c129
commit
229935184b
4 changed files with 61 additions and 55 deletions
|
@ -43,7 +43,7 @@
|
|||
|
||||
/* Macros: */
|
||||
#define BAUD 9600
|
||||
#define BIT_TIME ((F_CPU + (BAUD / 2)) / BAUD)
|
||||
#define BIT_TIME ((F_CPU / BAUD) - 1)
|
||||
|
||||
#define SRX PD0
|
||||
#define SRXPIN PIND
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue