|
Re: Get Motor Values with WPILib?
We're using WPILib, but we copied over ifi_aliases.h and a few other header files from the default code. After commenting out a few lines, we got rid of all duplicate functions and #defines. Once you have that, you can call pwm01 as normal. You don't even have to use WPILib's SetMotor function. You can just say pwm01 = 127 or printf("%d\r", (int)pwm01) or whatever you'd normally say without WPILib.
|