A-4. Example LC Test
U3-1021
A-8
2/99
Westinghouse Proprietary Class 2C
case 7:
{
status = lc_stat();
printf("\nLC Status register value is %02x \n\n" ,status);
break;
}
case 8:
{
printf("\nENTER STATUS TO DISPLAY ON LEDs (hex):
");
scanf("%x" ,&status);
lc_led(status);
printf("\n");
break;
}
}
printf("\n\n\n Strike any key to continue");
while(kbhit() == 0);
system(*cls);
}
}