Comment update

This commit is contained in:
Sanyog Nevase Nevase 2024-10-29 01:35:42 +05:30
parent 2fee158217
commit def2bd27b7
1 changed files with 11 additions and 16 deletions

5
main.c
View File

@ -55,19 +55,14 @@ void UART1_RXTX_to_DISPLAY(char RX_DATA)
if (RX_DATA == 0x52)
{
GPIO_PORTF_DATA_R |= 0x02; // IF RECEIVED CHARACTER IS R TURN ON RED LED
}
else if (RX_DATA == 0x42)
{
GPIO_PORTF_DATA_R |= 0x04; // IF RECEIVED CHARACTER IS B TURN ON BLUE LED
}
else if (RX_DATA == 0x47)
{
GPIO_PORTF_DATA_R |= 0x08; // IF RECEIVED CHARACTER IS G TURN ON GREEN LED
}
else
{