Example everloop program for the matrix creator using docker
87
This is an example everloop program running in a docker container that uses the Matrix Creator attached to a raspberry pi.
GitHub Repo: https://github.com/cthayer/matrix-creator-everloop
docker run \
-v /usr/include/matrix_hal:/usr/include/matrix_hal \
-v /usr/lib/libmatrix_creator_hal.so:/usr/lib/libmatrix_creator_hal.so \
-v /usr/lib/libwiringPi.so:/usr/lib/libwiringPi.so \
-v /usr/lib/libwiringPiDev.so:/usr/lib/libwiringPiDev.so \
--device=/dev/spidev0.0:/dev/spidev0.0 \
cdmnky/matrix-everloop:1.0.2-arm32v7
Stop the container by running the following command in another terminal:
docker kill -s SIGINT <container_id>
Building the docker container must be done on a raspberry pi with Matrix Hal already installed.
packer build packer.json
Content type
Image
Digest
Size
324 MB
Last updated
over 6 years ago
docker pull cdmnky/matrix-everloop:1.0.2-arm32v7