parity fixed
This commit is contained in:
@ -30,6 +30,7 @@ void uartInit() {
|
||||
P1SEL = BIT1 + BIT2;
|
||||
P1SEL2 = BIT1 + BIT2;
|
||||
|
||||
UCA0CTL0 |= UCPEN | UCPAR; // even parity
|
||||
UCA0CTL1 |= UCSSEL0; // ACLK
|
||||
|
||||
UCA0BR0 = 13;
|
||||
|
Reference in New Issue
Block a user