Can anyone tell me what are the codes in C Programming that represent [ENTER], [SPACE],[CTRL+Z] on computer keypad?
I wrote a segment of program in PWC:
if
(input(PIN_A0))
{
output_high(PIN _B0);
printf("Connect ed,%x,A1");
printf("Serial Communication Is Effective,%x,0D ");
}
else
{output_low(PIN _B0);
}
But as I compile there is error in the printf statements...
I've tried this too
(input(PIN_A0))
{
output_high(PIN _B0);
printf("Connect ed\r");
printf("Serial Communication Is Effective"^z);
}
else
{output_low(PIN _B0);
}
But it failed too...
Did i get the code wrong or it's the format ?
I wrote a segment of program in PWC:
if
(input(PIN_A0))
{
output_high(PIN _B0);
printf("Connect ed,%x,A1");
printf("Serial Communication Is Effective,%x,0D ");
}
else
{output_low(PIN _B0);
}
But as I compile there is error in the printf statements...
I've tried this too
(input(PIN_A0))
{
output_high(PIN _B0);
printf("Connect ed\r");
printf("Serial Communication Is Effective"^z);
}
else
{output_low(PIN _B0);
}
But it failed too...
Did i get the code wrong or it's the format ?
Comment