Skip to content

Instantly share code, notes, and snippets.

View yamanote1138's full-sized avatar
💾
h4x0r1ng y3r G1b$0n

Chad Francis yamanote1138

💾
h4x0r1ng y3r G1b$0n
View GitHub Profile

Keybase proof

I hereby claim:

  • I am yamanote1138 on github.
  • I am yamanote1138 (https://keybase.io/yamanote1138) on keybase.
  • I have a public key ASBg0y8tTzem7EzsrS7kAmNr1eG328-v7idCOQqYy16ySwo

To claim this, I am signing this object:

@yamanote1138
yamanote1138 / gpio.sh
Last active December 10, 2016 08:15 — forked from jefflarkin/gpio.sh
BASH functions for using the C.H.I.P. GPIO pins.
#!/bin/bash
#FIXME Add usage() function to improve documentation
# Enable exposure of the specified GPIO pin (0-8)
gpio_enable()
{
if [[("$1" -lt 0) || ("$1" -gt 8)]] ; then
echo "Valid pins are 0-8"
return -1;
fi