Sign inSign up

nosix/raspberry-gpio-emulator

By nosix

Updated almost 5 years ago

RPi.GPIO emulation environment

Image
0

850

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

almost 5 years ago

docker pull nosix/raspberry-gpio-emulator:0.3.1