This project will contain various useful classes for .netduino development.
First one is ServoMotor which lets you control a specific servo motor by settings its angle.
Here is an example which turns a specific servo motor (HItec HS 422) slowly from angle 0 to angle 180 and at the end it returns to center position (angle 90).
using (ServoMotor servo = new ServoMotor(Pins.GPIOPIND5, Hitec.Hs422))
for (int i = 0; i < 180; i++)
servo.Angle = i;
servo.Angle = 90;
Instead of a specific servo moto definition (Hitec.Hs422) one can pass a custom ServoMotorDefinition instead. I'll add more specific definitions over time.
More to come.