|
Re: 2008 Omni Drive Code Help
yea that was our first idea too.
we made everything signed ints in order to avoid this issue. but somehow when we tried to limit mix them into the 0-254 range, the limit mix failed or something.
but no matter what happened it still didnt work.
could it be that we never casted them back into unsigned chars before assigning them to the pwm? because when i tried that we got pure 254 for all four outputs.
thanks for the help by the way. much appreciated.
|