Quote:
|
Originally Posted by Random Dude
Whats wrong with signed chars? I've converted all my PWM signals to signed to simplify the math.
|
If you do it correctly, and dont need to do any extra math on those two values, its no problem. The Conversion should look like this:
signedpwm01=(char)pwm01-127;
That way you dont loose any information. Now, in processing, remmeber that the values for your pwm's can NEVER reach a number higher than 127 or less than -127 without a well planned promotion.