diff --git a/main.c b/main.c index 56a9874..d9b83f4 100644 --- a/main.c +++ b/main.c @@ -73,11 +73,10 @@ void UART1_RXTX_to_DISPLAY(char RX_DATA) { GPIO_PORTF_DATA_R &= 0x00; // RED LED FOR JUNK DATA } - + UART1_WRITE(RX_DATA); // SEND RECEIVED DATA TO DISPLAY } - int main(void) // MAIN FUNCTION { GPIO_PORT_F_init(); // GPIO PORT F INITIALISATION FUNCTION @@ -85,5 +84,6 @@ int main(void) // MAIN FUNCTION while (1) { - + UART1_RXTX_to_DISPLAY(UART1_READ()); // RECEIVE DATA, SEND RECEIVED DATA TO DISPLAY OR GLOW LED + } }