ℹ️ 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 bash
The 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.py
This 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.2
based. - Based on official
arm32v7/debian:jessie
rather thanarmhf/ubuntu
image which is not supported anymore. Also the requiredRTIMULIB
version is only supported fordebian:jessie
. - Updated
RTIMULIB
to version7.2.1-3
. Even though7.2.1-4
and7.2.1-5
are out there, they don't work withdebian:jessie
based image. - Moved test code
test.py
into/code
directory.