System.Device.Gpio
2.3.0-prerelease.22520.10
dotnet add package System.Device.Gpio --version 2.3.0-prerelease.22520.10
NuGet\Install-Package System.Device.Gpio -Version 2.3.0-prerelease.22520.10
<PackageReference Include="System.Device.Gpio" Version="2.3.0-prerelease.22520.10" />
paket add System.Device.Gpio --version 2.3.0-prerelease.22520.10
#r "nuget: System.Device.Gpio, 2.3.0-prerelease.22520.10"
// Install System.Device.Gpio as a Cake Addin
#addin nuget:?package=System.Device.Gpio&version=2.3.0-prerelease.22520.10&prerelease
// Install System.Device.Gpio as a Cake Tool
#tool nuget:?package=System.Device.Gpio&version=2.3.0-prerelease.22520.10&prerelease
The System.Device.Gpio package supports general-purpose I/O (GPIO) pins, PWM, I2C, SPI and related interfaces for interacting with low level hardware pins to control hardware sensors, displays and input devices on single-board-computers; Raspberry Pi, BeagleBoard, HummingBoard, ODROID, and other single-board-computers that are supported by Linux and Windows 10 IoT Core OS can be used with .NET Core and System.Device.Gpio. On Windows 10 IoT Core OS, the library wraps the Windows.Devices.Gpio.dll assembly. On Linux, the library supports three driver modes: libgpiod for fast full-featured GPIO access on all Linux distros since version 4.8 of the Linux kernel; slower and limited-functionality GPIO access via the deprecated Sysfs interface (/sys/class/gpio) when running on older Linux distro versions with a Linux kernel older than version 4.8; and lastly board-specific Linux drivers that access GPIO addresses in /dev/mem for fasted performance at the trade-off of being able to run on very specific versions of single-board-computers. In the future, the board-specific Linux drivers may be removed in favor of only supporting libgpiod and sysfs Linux interfaces. In addition to System.Device.Gpio, the optional Iot.Device.Bindings NuGet package contains device bindings for many sensors, displays, and input devices that can be used with System.Device.Gpio.
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net6.0-windows10.0.17763 net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows |
.NET Core | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.0 netstandard2.1 |
.NET Framework | net461 net462 net463 net47 net471 net472 net48 net481 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETStandard 2.0
- Microsoft.Win32.Registry (>= 5.0.0)
- System.Memory (>= 4.5.4)
- System.Runtime.InteropServices.WindowsRuntime (>= 4.3.0)
- System.Runtime.WindowsRuntime (>= 4.6.0)
- System.Threading.Tasks.Extensions (>= 4.5.4)
-
net6.0
- No dependencies.
-
net6.0-windows10.0.17763
- No dependencies.
NuGet packages (48)
Showing the top 5 NuGet packages that depend on System.Device.Gpio:
Package | Downloads |
---|---|
Iot.Device.Bindings
This package provides a set of Device Bindings that use System.Device.Gpio package to communicate with a microcontroller. |
|
piTop
piTop module. |
|
pi-top
pi-top[4] device. |
|
Ahsoka.Core
Package Description |
|
Rinsen.OneWire
.Net Standard 2.0 One Wire library for Windows IoT on Raspberry Pi via DS2482-100 and DS2482-800 I2C to One Wire bridge |
GitHub repositories (4)
Showing the top 4 popular GitHub repositories that depend on System.Device.Gpio:
Repository | Stars |
---|---|
dotnet/samples
Sample code referenced by the .NET documentation
|
|
dotnet/iot
This repo includes .NET Core implementations for various IoT boards, chips, displays and PCBs.
|
|
genielabs/HomeGenie
HomeGenie, the programmable automation system for smart devices and applications.
|
|
PowerShell/PowerShell-IoT
Interact with I2C, SPI & GPIO devices using PowerShell Core!
|
Version | Downloads | Last updated |
---|---|---|
2.3.0-prerelease.22520.10 | 1,769 | 10/24/2022 |
2.2.0 | 43,194 | 9/29/2022 |
2.1.0 | 63,884 | 2/26/2022 |
2.0.0 | 12,431 | 1/25/2022 |
2.0.0-prerelease.22069.4 | 264 | 1/21/2022 |
1.5.0 | 63,160 | 7/16/2021 |
1.4.0 | 33,197 | 3/17/2021 |
1.4.0-prerelease.21160.2 | 280 | 3/10/2021 |
1.3.0 | 21,176 | 12/22/2020 |
1.2.0 | 12,678 | 11/24/2020 |
1.1.0 | 5,746 | 11/9/2020 |
1.1.0-prerelease.20555.1 | 18,527 | 11/5/2020 |
1.1.0-prerelease.20276.1 | 26,473 | 7/22/2020 |
1.1.0-prerelease.20153.1 | 3,487 | 3/3/2020 |
1.0.0 | 114,296 | 9/23/2019 |
1.0.0-prerelease.19413.1 | 1,322 | 8/13/2019 |
0.1.0-prerelease.19376.1 | 1,222 | 7/26/2019 |
0.1.0-prerelease.19310.5 | 1,942 | 6/11/2019 |
0.1.0-prerelease.19171.3 | 2,248 | 3/21/2019 |
0.1.0-prerelease.19078.2 | 4,220 | 1/28/2019 |