Exemplo n.º 1
0
 public static bool Read(BroadcomPinNumberEnum pin)
 => InternalRead((int)pin);
Exemplo n.º 2
0
 public static void Write(BroadcomPinNumberEnum pin, bool state)
 => InternalWrite((int)pin, state);
Exemplo n.º 3
0
 public static void Setup(BroadcomPinNumberEnum pin, PinModeEnum mode, PullUpModeEnum?pullUpMode = null)
 => InternalSetup((int)pin, mode, pullUpMode);
Exemplo n.º 4
0
 public static void Remove(BroadcomPinNumberEnum pin)
 => Setup(pin, InterruptModeEnum.None, null);
Exemplo n.º 5
0
 public static IDisposable SetupPolled(BroadcomPinNumberEnum pin, InterruptModeEnum mode, Action handler)
 => InternalSetupPolled((int)pin, mode, handler);
Exemplo n.º 6
0
 public static void Setup(BroadcomPinNumberEnum pin, InterruptModeEnum mode, Action handler)
 => InternalSetup((int)pin, mode, handler);