github.com/warthog618/gpio (go): Package gpio provides GPIO access on the Raspberry Pi (rev 2 and later).  Supports simple operations such as: - Pin mode/direction (input/output) - Pin write (high/low) - Pin read (high/low) - Pull up/down/off  The package intentionally does not support:  Example of use:  The library uses the raw BCM2835 pin numbers, not the ports as they are mapped on the J8 output pins for the Raspberry Pi. A mapping from J8 to BCM is provided for those wanting to use the J8 numbering.  See the spec for full details of the BCM2835 controller: http://www.raspberrypi.org/wp-content/uploads/2012/02/BCM2835-ARM-Peripherals.pdf
Keywords: go|golang|golang-library|gpio|interrupts|pin-level|raspberry-pi