PSC tutorial
Hi again...
Regarding the position reporting provides by PSC, can anyone helps me to make a code so that i can increase the servo position by step of 20 (just an example) from its current position, whenever it is at that time...
I tried to use the command report position, '!SCRSP', and the input receive are
x y z(where x is the channel number, and z:y is the value reported)...
so if i interested to increase the current position to 20, should i make the code like
position = buff(1) + buff(2) + 20
·(by using·the same variables use in the PSC documentation)
Regarding the position reporting provides by PSC, can anyone helps me to make a code so that i can increase the servo position by step of 20 (just an example) from its current position, whenever it is at that time...
I tried to use the command report position, '!SCRSP', and the input receive are
x y z(where x is the channel number, and z:y is the value reported)...
so if i interested to increase the current position to 20, should i make the code like
position = buff(1) + buff(2) + 20
·(by using·the same variables use in the PSC documentation)
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com