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:
Dean Camera 2010-07-11 14:14:08 +00:00
parent 2b0d93c129
commit 229935184b
4 changed files with 61 additions and 55 deletions

View file

@ -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