Comment update
This commit is contained in:
parent
2fee158217
commit
def2bd27b7
5
main.c
5
main.c
|
@ -55,19 +55,14 @@ void UART1_RXTX_to_DISPLAY(char RX_DATA)
|
||||||
if (RX_DATA == 0x52)
|
if (RX_DATA == 0x52)
|
||||||
{
|
{
|
||||||
GPIO_PORTF_DATA_R |= 0x02; // IF RECEIVED CHARACTER IS R TURN ON RED LED
|
GPIO_PORTF_DATA_R |= 0x02; // IF RECEIVED CHARACTER IS R TURN ON RED LED
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
else if (RX_DATA == 0x42)
|
else if (RX_DATA == 0x42)
|
||||||
{
|
{
|
||||||
GPIO_PORTF_DATA_R |= 0x04; // IF RECEIVED CHARACTER IS B TURN ON BLUE LED
|
GPIO_PORTF_DATA_R |= 0x04; // IF RECEIVED CHARACTER IS B TURN ON BLUE LED
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
else if (RX_DATA == 0x47)
|
else if (RX_DATA == 0x47)
|
||||||
{
|
{
|
||||||
GPIO_PORTF_DATA_R |= 0x08; // IF RECEIVED CHARACTER IS G TURN ON GREEN LED
|
GPIO_PORTF_DATA_R |= 0x08; // IF RECEIVED CHARACTER IS G TURN ON GREEN LED
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue