How come in the following PUB module that I am executing via a separate COG, The Rx Inputs that I am receiving for channels 1-4 and 6 stop when I flip the gear switch (channel 5) ?

repeat
stackRxPass1 := bs2.Pulsin(RxInput1, 1)
stackRxPass2 := bs2.PULSIN(RxInput2, 1)
stackRxPass3 := bs2.PULSIN(RxInput3, 1)
stackRxPass4 := bs2.PULSIN(RxInput4, 1)
stackRxPass5 := bs2.PULSIN(RxInput5, 1)
stackRxPass6 := bs2.PULSIN(RxInput6, 1)

if stackRxPass5 > 770
stackGear := 0 'Off
laststackgear := 0
else
stackGear := 1 'On

This is curious. I want to continue to have control of all channels when I flip the gear switch in the scenario I am working on.

Views: 85

Replies are closed for this discussion.

Replies to This Discussion

I have resolved this issue. Thanks.

RSS

Groups

Season Two of the Trust Time Trial (T3) Contest 
A list of all T3 contests is here. The current round, the Vertical Horizontal one, is here

© 2019   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service