| 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.2025.275.1
 Syntax
Syntaxpublic static Pin GPIOPinFactory(
	Designator desg,
	Direction dir,
	bool state = false,
	Drive drive = Drive.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.
- drive  Drive  (Optional)
- Output driver setting.
- edge  Edge  (Optional)
- Interrupt edge setting.
- polarity  Polarity  (Optional)
- Polarity setting.
Return Value
PinGPIO pin object.
 See Also
See Also