Skip to content

Instantly share code, notes, and snippets.

View cornbreadheadman's full-sized avatar

Jason Dobson cornbreadheadman

  • Cornbread Productions
  • Olustee, Florida, USA
View GitHub Profile
@cornbreadheadman
cornbreadheadman / gpio.sh
Last active July 3, 2016 04:05 — forked from nhorvath/gpio.sh
BASH functions for using the C.H.I.P. GPIO pins.
#!/bin/bash
GPIO_OFFSET=1016
CSI_OFFSET=132
LCD_OFFSET=96
#FIXME Add usage() function to improve documentation
# Enable exposure of the specified GPIO pin (0-7)
gpio_enable()
{