Ejemplo n.º 1
0
 internal Pin(TreehopperUSB board, byte pinNumber)
 {
     this.board     = board;
     this.PinNumber = pinNumber;
     interruptMode  = PinInterruptMode.NoInterrupt;
     SoftPwm        = new SoftPwm(Board, this);
 }
Ejemplo n.º 2
0
 internal Pin(TreehopperUsb board, byte pinNumber)
 {
     this.board = board;
     this.PinNumber = pinNumber;
     SoftPwm = new SoftPwm(Board, this);
     AdcValueChangedThreshold = 10;
     AnalogVoltageChangedThreshold = 0.1;
     AnalogValueChangedThreshold = 0.05;
     this.ReferenceLevel = AdcReferenceLevel.VREF_3V3;
 }
Ejemplo n.º 3
0
 internal Pin(TreehopperUSB board, byte pinNumber)
 {
     this.board = board;
     this.PinNumber = pinNumber;
     interruptMode = PinInterruptMode.NoInterrupt;
     SoftPwm = new SoftPwm(Board, this);
 }