Add initial Sense HAT Input node

This commit is contained in:
Nick O'Leary
2016-03-01 23:21:44 +00:00
parent cd047ceab1
commit c3b08270ad
8 changed files with 778 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
#!/bin/bash
python -c "import sense_hat" 2> /dev/null
if [ $? -ne 0 ]
then
echo "WARNING : Can't find Sense HAT python library"
echo "WARNING : Please install using the following commands"
echo "WARNING : sudo apt-get update"
echo "WARNING : sudo apt-get install sense-hat"
echo "WARNING : sudo pip-3.2 install pillow"
else
echo "Sense HAT python library is installed"
fi