This project has moved and is read-only. For the latest updates, please go here.

I want a function (API) with the value of a motor and the sensor.

Nov 16, 2013 at 3:46 PM
Edited Nov 16, 2013 at 3:48 PM
Is there the function (API) for the rotary angle of the motor?
Nov 16, 2013 at 4:58 PM
Sure! Set the mode of the port to MotorMode.Degrees or MotorMode.Rotations and use the event to read the value of that port.
Nov 17, 2013 at 9:37 AM
How should I use it in C #?
Nov 17, 2013 at 10:05 PM
Please see the Getting Started guide under the Documentation tab, as well as the video linked on the home page for information on how to use the library from C#.
Nov 18, 2013 at 2:21 AM
Edited Nov 18, 2013 at 2:57 AM
Can I get a rotary angle if I do it?
I want to do the PID control of the motor.
Nov 18, 2013 at 5:14 AM
You can get the number of degrees the motor has been turned, or the number of rotations. This is a cumulative total. You can use the Clear methods to start the counters back at 0.
Nov 18, 2013 at 5:34 AM
I challenge it once again!