MUNTS_0018RaspberryPiGPIOPinFactory Method |
GPIO pin object factory for GPIO pins at connectors J4 to
J7.
Namespace: IO.Objects.SimpleIO.PlatformsAssembly: libsimpleio (in libsimpleio.dll) Version: 2.2024.167.1
Syntax public static Pin GPIOPinFactory(
Designator desg,
Direction dir,
bool state = false,
Driver driver = Driver.PushPull,
Edge edge = Edge.None,
Polarity polarity = Polarity.ActiveHigh
)
Parameters
- desg Designator
- Device designator for one of the on-board GPIO
pins (J4D0 to J7D1.
- dir Direction
- Data direction.
- state Boolean (Optional)
- Initial GPIO output state.
- driver Driver (Optional)
- Output driver setting.
- edge Edge (Optional)
- Interrupt edge setting.
- polarity Polarity (Optional)
- Polarity setting.
Return Value
PinGPIO pin object.
See Also