Sign inSign up

acencini/rpi-python-serial-wiringpi

By acencini

Updated almost 11 years ago

Serial/WiringPi-Enabled Python/C Container for use with Hypriot

Image
8

10K+

acencini/rpi-python-serial-wiringpi repository overview

rpi-python-serial-wiringpi

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!

MIT Licensed

Tag summary

Content type

Image

Digest

sha256:3d2cd67a0

Size

128.4 MB

Last updated

almost 11 years ago

docker pull acencini/rpi-python-serial-wiringpi