Пример #1
0
 public Servo(Cpu.PWMChannel pin, ServoConfig config) : base(pin, config)
 {
 }
Пример #2
0
 /// <summary>
 /// Instantiates a new Servo on the specified PWM Pin with the specified config.
 /// </summary>
 /// <param name="pin"></param>
 /// <param name="config"></param>
 public ServoBase(H.Cpu.PWMChannel pin, ServoConfig config)
 {
     _config = config;
     _pwm    = new H.PWM(pin, config.Frequency, 0, false);
 }
 /// <summary>
 /// Instantiates a new continuous rotation servo on the specified pin, with the specified configuration.
 /// </summary>
 /// <param name="pin"></param>
 /// <param name="config"></param>
 public ContinuousRotationServo(H.Cpu.PWMChannel pin, ServoConfig config) : base(pin, config)
 {
 }