Serial/WiringPi-Enabled Python/C Container for use with Hypriot
10K+
Hello Raspberry Pi docker-loving hardware hackers!
This image supports full GPIO and serial access, for use with Python (wiringpi2, pyserial) and C (libwiringpi).
rpi-python-serial-wiringpi on GitHub
To run interactively:
docker run --device /dev/ttyAMA0:/dev/ttyAMA0 --device /dev/mem:/dev/mem --privileged -ti acencini/rpi-python-serial-wiringpi /bin/bash
Privileged access to /dev/mem is required by wiringPi.
Verify that wiringPi is seeing GPIO via the gpio utility:
gpio readall
Thanks to the Hypriot team for making docker fun on Raspberry Pi!
Content type
Image
Digest
sha256:3d2cd67a0…
Size
128.4 MB
Last updated
almost 11 years ago
docker pull acencini/rpi-python-serial-wiringpi