Hello everybody i have the H3-R with the servopod as DSP.
I have downloaded the PS2 remote program but i have tried to change it so
that i can select the GAITS from the I/O port with switches.
Here the part of the code that i have changed:
SLCT? G0? OR IF STAND CR ." GAIT0 " THEN
G1? OR IF 1 INIT-GAIT CR ." GAIT1 " THEN
PB7 OFF? G2? OR IF 2 INIT-GAIT CR ." GAIT2 " THEN
L1? G3? OR IF 3 INIT-GAIT CR ." GAIT3 " THEN
As you can see i am using the PB7 to select GAIT2, the problem is that when the switch is closed the gait is selected but the walking doesn’t starts until the switch comes at its normaly open position.
Is there any way to make the gait to start when the switch is pressed and not to wait until the switch comes to its normal position?