Sign inSign up

josemottalopes/gpio

By josemottalopes

Updated over 8 years ago

Toggle Raspberry Pi GPIO Pins with ASP.NET Core 2.0

Image
0

304

josemottalopes/gpio repository overview


ASPNET.WEBAPI.RPI.GPIO

https://github.com/josemotta/pi-docker-gpio

Deployment Workflow

x64: Development

cd "C:_git\Api\aspnet.webapi.rpi.gpio"

x64: Linux-Arm Build

docker-compose -f docker-compose.ci.build.yml build
docker build -t josemottalopes/gpio:latest .
docker push josemottalopes/gpio:latest

arm: RaspberryPI Deployment

export ASPNETCORE_URLS="http://*:5000"
docker run --privileged -p 5000:5000 josemottalopes/gpio

any: Client Test

curl -H "Content-Type: application/json" -d 'true' http://lumi:5000/api/blinky
curl -H "Content-Type: application/json" -d 'false' http://lumi:5000/api/blinky

Tag summary

Content type

Image

Digest

Size

97.1 MB

Last updated

over 8 years ago

docker pull josemottalopes/gpio