|
Drive wheel motors using OItoPWM() --- how to debug?
I'm using OI_to_PWM() function to drive wheel motors during the Operator part of the game, and set_PWM() during the Autonomous part, setting to full speed.
It is observed that during the operator mode, it is running slower than the Auto mode, even the driver pushed the joystick to the limit.
I assume when the joystick is pushed to the limit, the output to PWM port should be 255(or 0) using OI_to_PWM() function. Is that true?
Is there a way to read the output to the PWM while running the OI_to_PWM() function using EasyCPro? I mean without any hardware equipment?
|