Good news!,I used a program kurte wrote to me in an older thread to check the servos:
[code]cSSC_OUT con P11 ;Output pin for (SSC32 RX) on BotBoard (Yellow)
cSSC_IN con P10 ;Input pin for (SSC32 TX) on BotBoard (Blue)
cSSC_BAUD con i115200 ;SSC32 BAUD rate 115200 require the Studio version 2.0.0.7 or later
leg var byte
pos var word
main:
gosub AllLegs1500
for leg = 0 to 31
gosub WiggleLeg[leg]
next
DoNothing:
goto DoNothing
goto main
AllLegs1500:
for leg = 0 to 31
serout cSSC_OUT, cSSC_BAUD, “#”, dec leg, “P1500”, 13]
next
return
WiggleLeg[leg]:
serout S_OUT, i9600, "Wiggle Servo: ", dec leg, 13]
for pos = 1500 to 1800 step 50
serout cSSC_OUT, cSSC_BAUD, "#", dec leg, "P", dec pos, "T250", 13]
pause 250
next
for pos = 1800 to 1200 step -50
serout cSSC_OUT, cSSC_BAUD, "#", dec leg, "P", dec pos, "T250", 13]
pause 250
next
serout cSSC_OUT, cSSC_BAUD, "#", dec leg, "P1500T250", 13]
return
[/code]
Everything went as planned, all servos are working and the program is operating at 115200 baud rate. I’ll try using debug messages on the terminal to see where xan’s code get stuck
Edit: In order not to take this thread off it’s topic, i’ll continue the debugging news on my thread here