Пример #1
0
 public GPIOPin(RPiGPIOPin PhysicalPin, GPIOFunction Function, GPIOPullControl PullControl)
 {
     currentPin       = PhysicalPin;
     this.Function    = Function;
     this.PullControl = PullControl;
 }
Пример #2
0
 public GPIOPin(RPiGPIOPin PhysicalPin)
 {
     currentPin  = PhysicalPin;
     Function    = GPIOFunction.Input;
     PullControl = GPIOPullControl.Off;
 }