An app can get and set the state of a GPIO pin. To enable this sample, follow the wiring schematic below using a simple LED. Wiring for both MinnowBoard Max and Raspberry Pi 2 are diagrammed.
Start
Set pin 5 high Set pin 5 low
Get pin 6 value
Pin value: