parity fixed

This commit is contained in:
hg
2014-06-05 22:19:59 +02:00
parent da110a3be0
commit 80a5e57938

View File

@ -30,6 +30,7 @@ void uartInit() {
P1SEL = BIT1 + BIT2;
P1SEL2 = BIT1 + BIT2;
UCA0CTL0 |= UCPEN | UCPAR; // even parity
UCA0CTL1 |= UCSSEL0; // ACLK
UCA0BR0 = 13;