A C# I/O Library for the Raspberry Pi




RPICSIO is a free and open source .NET v4 library which provides a comprehensive C# input/output solution for the Raspberry Pi 2 Mono environment. Using RPICSIO, you can easily read and write to the GPIO pins (and trigger interrupt events from state changes) and control SPI, I2C, PWM and UART devices. RPICSIO is intended to be a comprehensive solution for I/O on the Raspberry Pi 2. At the current time support for the Raspberry Pi 3 and Raspberry Pi 0 remains to be implemented. Besides the downloadable DLL library and source code the RPICSIO contains complete Help Files and Examples .

Note: In order to use the RPICSIO library, C# and Mono must be installed on the Raspberry Pi. A separate project documents that installation procedure.

License, Cost and Disclaimer

The RPICSIO software is free and open source and is released under the MIT License. Be sure to read the license text before you use the software. Your use of the RPICSIO software is entirely at your own risk.


What RPICSIO Does Not Do


The latest version of the RPICSIO software can be found on this page. The source code is also available in browseable form.

Installation and System Requirements

If you download only the RPICSIO.dll (rather than the source) you can use it like any other .NET dll library. Either place the RPICSIO.dll in the same directory as the exe file or copy the dll into the /usr/lib directory where it will be available to all programs that need it. Of course, you will need to reference it in the .NET solution just as you would any other library.

If you download the source code you can include the RPICSIO.proj into your .NET solution in the usual way and the software should compile.

As for system requirements, the RPICSIO was tested on a Raspberry Pi 2 model B rev 1.1 board with the standard Raspbian Debian Linux v4.4.32 operating system installed. You will also need Mono and the MCS compiler - testing occurred on Mono 3.2.8.