Introduction

This template package provides a .Net 9 project template for developing .Net 9 application programs for Linux using libsimpleio.dll, a library package that provides a .Net binding to the Linux Simple I/O Library.

libsimpleio.dll provides services to control ADC (Analog to Digital Converter) inputs, DAC (Digital to Analog) outputs, GPIO (General Purpose I/O) pins, I2C bus controllers, PWM (Pulse Width Modulated) outputs, servo outputs, motor outputs, SPI (Serial Peripheral Interface) devices, and watchdog timers.

With libsimpleio.dll you can develop .Net application programs for Linux target computers, including microcomputers like the BeagleBone and the Raspberry Pi, that control I/O devices. Such programs may be used for physical computing, test fixtures, instrumentation, and other kinds of embedded systems.

The API documentation for libsimpleio.dll is available online at http://tech.munts.com/libsimpleio.dll.

Usage

Install this template package by running the following command from a Linux or Windows command line:

dotnet new install libsimpleio-templates

The above command will install a .Net application program project template called csharp_console_libsimpleio. You can then create a project using it with commands like the following:

mkdir myprogram
cd myprogram
dotnet new csharp_console_libsimpleio

On Windows, after you have run the dotnet new install command above, Visual Studio will automatically pick up the csharp_console_libsimpleio project template. You can then create a project using it with FileNewProject... and then search for libsimpleio.