/* tstREC80 is a simple function that will display IR signals received from remote controls using REC80-IR (make sure REC80-IR is loaded!) */ #define LCDcols 16 void tstREC80(){ int a=0xFFFF,b=0,c; IR_control(1); /* make sure that IR functions are on */ printf("\n\n"); /* Clear the screen */ while (!stop_button()){ if (a!=b && a) { printf("IR Data: $%x",a); for (c=14;c