Sign inSign up

marcohald/rpi-python-serial-wiringpi

By marcohald

•Updated almost 9 years ago

gpio test

Image
0

261

marcohald/rpi-python-serial-wiringpi repository overview

⁠rpi-python-serial-wiringpi

Raspberry Pi compatible Docker base image with Python, C, serial support (pyserial) and GPIO support (wiringpi2, libwiringpi) preinstalled. Adapted from Hypriot's⁠ rpi-python⁠.

rpi-python-serial-wiringpi at DockerHub⁠

HypriotOS⁠

Run all the commands from within the project root directory.

⁠Build the Docker Image

From within the same directory as Dockerfile:

docker build -t <YOUR_IMAGE_HERE> .
⁠Run the Image in HypriotOS with Docker (interactively)

Replace YOUR_IMAGE_HERE with image name (acencini/rpi-python-serial-wiringpi if getting from DockerHub) that you created.

docker run --device /dev/mem:/dev/mem --device /dev/ttyAMA0:/dev/ttyAMA0 --privileged -ti YOUR_IMAGE_HERE /bin/bash

MIT Licensed⁠

Tag summary

Content type

Image

Digest

Size

125.5 MB

Last updated

almost 9 years ago

docker pull marcohald/rpi-python-serial-wiringpi