ArduinoConnectionForCSharp 1.0.1

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.

Install-Package ArduinoConnectionForCSharp -Version 1.0.1
dotnet add package ArduinoConnectionForCSharp --version 1.0.1
<PackageReference Include="ArduinoConnectionForCSharp" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ArduinoConnectionForCSharp --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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.

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.

Release Notes

Fixed bug where ArduinoConnection event was raised before the ArduinoPort was assigned.

Dependencies

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 History

Version Downloads Last updated
1.0.1 583 11/21/2017
1.0.0 446 10/7/2017