Quote:
|
Originally Posted by KenWittlief
I dont know if your code is correct or not, but I do know that in the past, if you set a pwm output to 255 then all sorts of weird and bizarre things happened.
I think the pwm output SW that is buried in the code where we dont see it uses pwm values of 255 to define the start of the data stream, so if you set a pwm to 255, the output stream starts over, putting variables where you didnt intend them to go.
I havent heard that this is no longer true - but it really did make the bot totally wack out if you did it last year, so its possible this is why its not doing what you want.
|
We set the pwms to 255 ( isn't this the max allowable speed?) in regular code and I thought it worked OK. I'll change this and try it , though.