ℹ️ This project is forked from bmwshop/sensehat.
- Based on Python
3.4.2. - Image size is only 59MB.
Create a temporary container,
docker run --privileged -it protik77/python3-sensehat bashThe command above should pull the image from the docker hub, create a temporary container with an interactive shell. The prompt at this point should look like,
root@0cab39t3d53:/code#Now run the test code by doing,
python3 test.pyThis should print the current temperature and show the message "It worked!" in the LED matrix of the Sense HAT.
Type exit and this should give back the original shell. The temporary container will be removed automatically.
See the Sense Hat API docs for more Sense Hat API.
- Python
3.4.2based. - Based on official
arm32v7/debian:jessierather thanarmhf/ubuntuimage which is not supported anymore. Also the requiredRTIMULIBversion is only supported fordebian:jessie. - Updated
RTIMULIBto version7.2.1-3. Even though7.2.1-4and7.2.1-5are out there, they don't work withdebian:jessiebased image. - Moved test code
test.pyinto/codedirectory.