??? 02/11/10 00:47 Read: times |
#173046 - Bug Responding to: ???'s previous message |
'cause i didn't know what the bug was...
Anyway, even though i only have one servo (more are ordered!), i realized i could test eight servos by switching the one servo between ports. It worked on ports 0..6, but went erratic on port 7, so i posted the "wait... a bug!" comment. It turns out that the bug was with my counting... the servo routine takes _38_ bytes, not 37. In my control-by-serial code that i was using to test it, i placed some of my serial port variables over top of byte 38, and got erratic behavior. I changed that, and successfully controlled all eight ports from my pc, so i think the original code is correct. Good luck with it! -jim |