natthaphop-phat / dotnet-libgpiod-gpioset

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

Home Page:https://devdotnet.org/post/upravlyaem-gpio-iz-csharp-net-5-v-linux-na-banana-pi-m64-arm64-i-cubietruck-arm32/#Creating-the-first-application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

https://devdotnet.org/post/upravlyaem-gpio-iz-csharp-net-5-v-linux-na-banana-pi-m64-arm64-i-cubietruck-arm32/#Creating-the-first-application

License:MIT License


Languages

Language:C# 71.5%Language:Shell 28.5%