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