RaspberrySharp 1.0.0-beta
See the version list below for details.
dotnet add package RaspberrySharp --version 1.0.0-beta
NuGet\Install-Package RaspberrySharp -Version 1.0.0-beta
<PackageReference Include="RaspberrySharp" Version="1.0.0-beta" />
paket add RaspberrySharp --version 1.0.0-beta
#r "nuget: RaspberrySharp, 1.0.0-beta"
// Install RaspberrySharp as a Cake Addin #addin nuget:?package=RaspberrySharp&version=1.0.0-beta&prerelease // Install RaspberrySharp as a Cake Tool #tool nuget:?package=RaspberrySharp&version=1.0.0-beta&prerelease
<p align="center"> <img src="https://github.com/JTrotta/RaspberrySharp/blob/master/RaspberrySharp/Images/Icon.png?raw=true" width="128"> </p>
RaspberrySharp
RaspberrySharp is a high performance .NET library for Raspberry Pi boards. Based on former Raspberry-Sharp (R.I.P.), it has been completely refactored. It provides all IO bus availables on Pis, included Compute Model 3 and GPIO over 31. The implementation is based on the work by Eric Bezine http://www.raspberry-sharp.org/author/eric-bezine/.
Features
- GPIO from 1 to 45 (CM3 has 45 GPIOs)
- GPIO removed confusion between Connector Pin and GPIO Pin numbers, only GPIO numbers
- I2C bus (included repeated start )
- SPI (beta)
- OneWire (coming soon)
- no dependencies, just one library
Supported frameworks
- .NET Standard 2.0+
- .NET Framework 4.5.2+ (x86, x64, AnyCPU)
- Mono 5.2+
Supported Raspberry Pi versions
- Raspberry Pi 1 model A
- Raspberry Pi 1 model B
- Raspberry Pi 2 model B
- Raspberry Pi 3 model B
- Raspberry Pi Zero
- Raspberry Pi Zero W
- Raspberry Pi CM1
- Raspberry Pi CM3
Nuget
This library is available as a nuget package: https://www.nuget.org/packages/RaspberrySharp/
Contributions
If you want to contribute to this project just create a pull request. But only pull requests which are matching the code style of this library will be accepted. Before creating a pull request please have a look at the library to get an overview of the required style.
If you use this library and want to see your project here please let me know.
MIT License
Copyright (c) 2018 Gerardo Trotta
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6.2
- No dependencies.
-
.NETStandard 2.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on RaspberrySharp:
Package | Downloads |
---|---|
IoT.Display.RaspberrySharp
A platform specific adapter for IoT.Display (https://github.com/serhiiz/IoT.Display) which enables it to run on Raspberry Pi under .Net Framework/Mono. It's based on RaspberrySharp (https://github.com/JTrotta/RaspberrySharp). |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.4.0 | 1,007 | 3/30/2020 |
1.3.3-beta | 991 | 10/29/2018 |
1.3.2-beta | 579 | 10/18/2018 |
1.3.1-beta | 691 | 8/13/2018 |
1.3.0-beta | 740 | 4/24/2018 |
1.2.0-beta | 813 | 2/22/2018 |
1.1.0-beta | 855 | 2/6/2018 |
1.0.0-beta | 756 | 2/4/2018 |
This is a complete Beta Version