Small fix
This commit is contained in:
parent
5be15a53f9
commit
d2a74fb024
@ -32,7 +32,6 @@ void USART3_init(void)
|
|||||||
PORTB.DIRCLR &= ~PIN1_bm;
|
PORTB.DIRCLR &= ~PIN1_bm;
|
||||||
PORTB.DIRSET |= PIN0_bm;
|
PORTB.DIRSET |= PIN0_bm;
|
||||||
PORTB.DIRCLR = PIN2_bm;
|
PORTB.DIRCLR = PIN2_bm;
|
||||||
PORTB.PIN2CTRL |= PORT_PULLUPEN_bm;
|
|
||||||
USART3.CTRLB |= USART_RXEN_bm | USART_TXEN_bm; /* Enable both TX and
|
USART3.CTRLB |= USART_RXEN_bm | USART_TXEN_bm; /* Enable both TX and
|
||||||
RX */
|
RX */
|
||||||
}
|
}
|
||||||
@ -110,9 +109,3 @@ int main(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
/*char out_str[30] = {0};
|
|
||||||
float flt_num = adcVal;
|
|
||||||
sprintf(out_str, "flt_num = %f\r\n", flt_num);
|
|
||||||
UartTxStr(out_str); */
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user