[simpits-tech] EPL-code quest

Rod Dale simpits-tech@simpits.org
Thu, 24 Jul 2003 15:51:19 +1000


Frank,
Try :

void Land_Gear.Landing_Gear.On(void)
{

keyhit(G);

delay(300);

setpoint(0,1,0b10000000);

}

void Land_Gear.Landing_Gear.Off(void)

{
keyhit(G);

delay(300);

clearpoint(0,1,0b10000000);

}

Rod

At 08:50 PM 7/23/03 +0200, you wrote:
>Hi All !
>
>I can't get this to work.... what do i do wrong ?
>
>void Land_Gear.Landing_Gear.On(void)
>
>{
>
>keyhit(G);
>
>setpoint(0,1,0b10000000);
>
>delay(300);
>
>clearpoint(0,1,0b10000000);
>
>}
>
>void Land_Gear.Landing_Gear.Off(void)
>
>{
>
>keyhit(G);
>
>setpoint(0,1,0b10000000);
>
>delay(300);
>
>clearpoint(0,1,0b10000000);
>
>}
>
>
>
>Frank
>
>
>_______________________________________________
>Simpits-tech mailing list
>Simpits-tech@simpits.org
>http://www.simpits.org/mailman/listinfo/simpits-tech
>To unsubscribe, please see the instructions at the bottom of the above 
>page.  Thanks!