
int Get_CD_SENSE_Status()
{
if(inportb(CDS_PORT)&BIT3)
{ delay(100);
if(inportb(CDS_PORT)&BIT3)
{
printf("CD_SENSE is Low level stability.\n");
return 1;
}
}
else
printf("CD_SENSE is High level\n");
return 0;
}
main()
{
printf("System ready\n ");
/*Set_CD_OPEN High */
Set_CD_OPEN(1);
/*Set_CD_OPEN Low */
Set_CD_OPEN(0);
while(1)
{
Get_CD_SENSE_Status();
}
}
Summary of Contents for HK570
Page 1: ...HK570 Touch Terminal User s Manual Document Version 1 0 ...
Page 9: ...06 Dimension ...
Page 15: ......
Page 19: ...appearance of your displays dialog window ...