Skip to content

Commit

Permalink
Update uart_echo.c
Browse files Browse the repository at this point in the history
fix LED issues, this is now complete
  • Loading branch information
pwittich committed May 9, 2019
1 parent 7d58853 commit 892c2de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions projects/uart_echo/uart_echo.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ UARTIntHandler(void)
//
// Blink the LED to show a character transfer is occurring.
//
MAP_GPIOPinWrite(GPIO_PORTJ_BASE, GPIO_PIN_1, GPIO_PIN_0);
MAP_GPIOPinWrite(GPIO_PORTJ_BASE, GPIO_PIN_1, GPIO_PIN_1);

//
// Delay for 1 millisecond. Each SysCtlDelay is about 3 clocks.
Expand Down Expand Up @@ -156,9 +156,9 @@ main(void)
MAP_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOJ);

//
// Enable the GPIO pins for the LED (PN0).
// Enable the GPIO pins for the LED (PJ1).
//
MAP_GPIOPinTypeGPIOOutput(GPIO_PORTJ_BASE, GPIO_PIN_0);
MAP_GPIOPinTypeGPIOOutput(GPIO_PORTJ_BASE, GPIO_PIN_1);

//
// Enable the peripherals used by this example.
Expand Down

0 comments on commit 892c2de

Please sign in to comment.