This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GPIO=41 | |
cd /sys/class/gpio | |
echo $GPIO > export | |
cd /sys/class/gpio/gpio$GPIO | |
echo "out" > direction | |
echo 1 > value |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# File: install.sh | |
# Authors: Scott Kidder, Clayton Smith | |
# Purpose: This script will configure a newly-imaged Raspberry Pi running | |
# Raspbian Jessie Lite with the dependencies and HSMM-Pi components. | |
# | |
PROJECT_HOME=${HOME}/hsmm-pi |