{ case '0': TD=0; break;
case '1': TD=1; break;
case '2': TD=2; break;
case '3': TD=3; break;
case '4': TD=4; break;
case '5': TD=5; break;
case '6': TD=6; break;
case '7': TD=7; break;
}
RAD_VOLT(TD);
goto Loop;
}
//== i/o control for port D by line
if((RC_CMD[0]=='#') && (RC_CMD[1]=='S') && (RC_CMD[2]=='P') &&(RC_CMD[3]<='D') && (RC_CMD[4]<='7') && (RC_CMD[5]=='$') && (ptRCi==6))
{
switch(RC_CMD[4])
{ case '0'D=PIN_D0;break;
case '1'D=PIN_D1;break;
case '2'D=PIN_D2;break;
case '3'D=PIN_D3;break;
case '4'D=PIN_D4;break;
case '5'D=PIN_D5;break;
case '6'D=PIN_D6;break;
case '7'D=PIN_D7;break;
}
output_high(PD);
goto Loop;
}
//== i/o control for port D release by line
if((RC_CMD[0]=='#') && (RC_CMD[1]=='R') && (RC_CMD[2]=='P') &&(RC_CMD[3]<='D') && (RC_CMD[4]<='7') && (RC_CMD[5]=='$') && (ptRCi==6))
{
switch(RC_CMD[4])
{ case '0'D=PIN_D0;break;
case '1'D=PIN_D1;break;
case '2':PD=PIN_D2;break;
case '3':PD=PIN_D3;break;
case '4':PD=PIN_D4;break;
case '5':PD=PIN_D5;break;
case '6':PD=PIN_D6;break;
case '7':PD=PIN_D7;break;
}