Skip to content

devdotnetorg/dotnet-libgpiod-gpioset

Repository files navigation

Alpine image with programm dotnet-gpioset on .NET 5 using Libgpiod for control GPIO. Developer boards such as Raspberry Pi, Banana Pi, Orange Pi, and etc.

Upstream Links

Image Tags

Linux arm64 Tags

Tags Dockerfile OS Version Libgpiod Version
:aarch64 :latest Dockerfile alpine:3.13.5 Latest (v1.6.3)

Linux amd64 Tags

Tags Dockerfile OS Version Libgpiod Version
:amd64 :latest Dockerfile alpine:3.13.5 Latest (v1.6.3)

Quick Start

The dotnet-gpioset program uses the Libgpiod library to control GPIO Developer boards, written in C # .NET5. Performs the same functions as the gpioset program. The input parameters are the same. A Docker image with the Libgpiod library is available - docker-libgpiod.

Running dotnet-gpioset. Turning on LED on Banana Pi M64 (ARM64), 1 - gpiochip1, 36 - control pin number, 1 - "true" value corresponds to 3V3 voltage:

docker run --rm --name test-dotnet-gpioset --device /dev/gpiochip1 devdotnetorg/dotnet-gpioset 1 36=1

LED ON

LED ON

LED OFF

docker run --rm --name test-dotnet-gpioset --device /dev/gpiochip1 devdotnetorg/dotnet-gpioset 1 36=0

Links in Russian

Links

License

MIT License.

About

Application dotnet-gpioset on .NET 5 using Libgpiod for control GPIO. Developer boards such as Raspberry Pi, Banana Pi, Orange Pi, and etc.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published