From ea7a4baa3e58b7d55df1251480e3461f7d728583 Mon Sep 17 00:00:00 2001 From: PrestonXPitzer Date: Wed, 1 Mar 2023 09:28:50 -0500 Subject: [PATCH] Update basic_example_UART.c --- basic_example_UART.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/basic_example_UART.c b/basic_example_UART.c index 8b354c5..ceeaeed 100644 --- a/basic_example_UART.c +++ b/basic_example_UART.c @@ -3,8 +3,8 @@ * Pushing S2 on the BoosterPack toggles the LED1 on the Launchpad at any time. * The program gets characters sent from your Laptop and decides whether it is Number, Letter or Other. Then, * it sends back N, L or O to the laptop in response. - * Sending lower case c from laptop changes the baudrate. Currenlty, the only other baudrate implemented is 19200. - * The system clock for this project is 3MHz and all the UART calcuations are based on this number. + * Sending lower case c from laptop changes the baudrate. Currently, the only other baudrate implemented is 19200. + * The system clock for this project is 3MHz and all the UART calculations are based on this number. */ #include @@ -36,7 +36,7 @@ void initializeGPIO(); uartConfig.overSampling = EUSCI_A_UART_OVERSAMPLING_BAUDRATE_GENERATION; // Oversampling // Related to other configurations - uartConfig.parity = EUSCI_A_UART_NO_PARITY; // No praity + uartConfig.parity = EUSCI_A_UART_NO_PARITY; // No parity uartConfig.msborLsbFirst = EUSCI_A_UART_LSB_FIRST; // LSB First uartConfig.numberofStopBits = EUSCI_A_UART_ONE_STOP_BIT; // One stop bit uartConfig.dataLength = EUSCI_A_UART_8_BIT_LEN; // Data length is 8 bits