nosix/raspberry-gpio-emulator

By nosix

Updated over 4 years ago

RPi.GPIO emulation environment

Image
0

771

nosix/raspberry-gpio-emulator repository overview

The environment for using RPi.GPIO emulator.

https://github.com/nosix/raspberry-gpio-emulator

This image is based on https://github.com/fcwu/docker-ubuntu-vnc-desktop.

Usage

Pull docker image.

$ docker pull nosix/raspberry-gpio-emulator:0.3.1

Execute the following command. The <working directory> is the absolute path of a directory in the host.

$ docker run \
   -p 6080:80 \
   -v <working directory>:/home/pi/work \
   nosix/raspberry-gpio-emulator:0.3.1

Open the following URL in a browser.

http://localhost:6080/

Execute LXTerminal of System Tools.

Execute the following command on LXTerminal.

$ python samples/sample_bcm.py

Tag summary

Content type

Image

Digest

Size

856 MB

Last updated

over 4 years ago

docker pull nosix/raspberry-gpio-emulator:0.3.1