Code: Select all
const unsigned int EOS = 0xF9F9;
.......
UART1_Write(Hi(EOS));// Operator '&' is not applicable to these operands 'EOS' Hr_Nd_Blt.c
UART1_Write(Lo(EOS));// Operator '&' is not applicable to these operands 'EOS' Hr_Nd_Blt.c
Code: Select all
const unsigned int EOS = 0xF9F9;
unsigned int data;
......
data = EOS;
UART1_Write(Hi(data));// OK
UART1_Write(Lo(data));// OK