internal Pin(TreehopperUSB board, byte pinNumber) { this.board = board; this.PinNumber = pinNumber; interruptMode = PinInterruptMode.NoInterrupt; SoftPwm = new SoftPwm(Board, this); }
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; }