ArduinoConnectionForCSharp 1.0.0
See the version list below for details.
dotnet add package ArduinoConnectionForCSharp --version 1.0.0
NuGet\Install-Package ArduinoConnectionForCSharp -Version 1.0.0
<PackageReference Include="ArduinoConnectionForCSharp" Version="1.0.0" />
paket add ArduinoConnectionForCSharp --version 1.0.0
#r "nuget: ArduinoConnectionForCSharp, 1.0.0"
// Install ArduinoConnectionForCSharp as a Cake Addin
#addin nuget:?package=ArduinoConnectionForCSharp&version=1.0.0
// Install ArduinoConnectionForCSharp as a Cake Tool
#tool nuget:?package=ArduinoConnectionForCSharp&version=1.0.0
Arduino Connection For C#
Arduino connection for C# is a C# and ino library that work together to facilitate the data transmission between an Arduino board and PC program.
Dll
If you don't want to download all project and just want the dll you can obtain it from here or from NuGet.
Code
The code is separated in two folders:
- ArduinoConnectionC# contains the full C# code as well as the C# code for the examples. Just load the solution in Visual Studio and check the projects.
- ArduinoConnectionIno contains the library for arduino.
- ArduinoExamples contains the Arduino code for both examples loaded in the solution.
C# code
There are two files, constants.cs
for configuration and the main class ArduinoConnection.cs
. Be sure that configuration values are the same you set in the Arduino code.
Ino code
There are just one file that contains all the logic for arduino. At the begining of the file you can find the Baud rate for the serial connection. Make sure that it's the same you have in the configuration file for C#. Also set the handshake value to your favorite.
Examples
You can find two examples in the Solution Explorer and the ino code in the ArduinoExamples folder.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.