This project has moved. 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 2:46 PM
Edited Nov 16, 2013 at 2:48 PM
Is there the function (API) for the rotary angle of the motor?
Nov 16, 2013 at 3: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 8:37 AM
How should I use it in C #?
Nov 17, 2013 at 9: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 1:21 AM
Edited Nov 18, 2013 at 1: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 4: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 4:34 AM
I challenge it once again!