ArduinoConnectionForCSharp 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package ArduinoConnectionForCSharp --version 1.0.0
NuGet\Install-Package ArduinoConnectionForCSharp -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ArduinoConnectionForCSharp" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ArduinoConnectionForCSharp --version 1.0.0
#r "nuget: ArduinoConnectionForCSharp, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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 Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.

Version Downloads Last updated
1.0.1 1,426 11/21/2017
1.0.0 1,119 10/7/2017