Quote:
Originally Posted by Noah Kleinberg
Is there any reason that you couldn't use "int"s to store your motor speeds and have a greater range of values with the higher precision obtained by using the CCP (that is, instead of using the gain and center #defines)?
|
You can do this. Last year I cobbled together a similar set of routines for controlling PWM13 and 14 for the camera with 10 bit precision instead of 8 bit precision. I'll see if I can still find the code (we ended up not using the camera in the end, so that code got removed since it wasn't needed).