diff --git a/prosjekt.X/main.c b/prosjekt.X/main.c index 7f6a09f..073a804 100644 --- a/prosjekt.X/main.c +++ b/prosjekt.X/main.c @@ -32,7 +32,6 @@ void USART3_init(void) PORTB.DIRCLR &= ~PIN1_bm; PORTB.DIRSET |= PIN0_bm; PORTB.DIRCLR = PIN2_bm; - PORTB.PIN2CTRL |= PORT_PULLUPEN_bm; USART3.CTRLB |= USART_RXEN_bm | USART_TXEN_bm; /* Enable both TX and 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); */ - -}