



if( input(PIN_A2)==1) {BLA BLA BLA
{
Examples:
while ( !input(PIN_B1) );
// waits for B1 to go high
if( input(PIN_A0) )
printf("A0 is now high\r\n");
int16 i=PIN_B1;
while(!i);
//waits for B1 to go high











משתמשים הגולשים בפורום זה: Google [Bot] ו 2 אורחים