RaspberryPi.Net
RaspberryPi.Net copied to clipboard
Has anyone tested the Raspberry Pi 2?
I haven't. B+ has been tested. https://github.com/cypherkey/RaspberryPi.Net/issues/26
Limited testing so far, seems OK though.
Initially had a problem with GPIOMem. You'll need the bcm2835 1.39 version which adds RPi2 support (http://www.airspayce.com/mikem/bcm2835/index.html).
As njwatkins indicated download the latest bcm2835 1.39, I created the libbcm2835.so lib placed it in my working bin/Debug directory. I can create a console application in Visual Studio working with Pi-2.. Can not get a windows form to work with the same code, program crashes when executed. Has anyone tried to create a C# win form with a simple button to run the same code?
I've a Win Form running fine. Whats the error? Have you just installed mono-runtime? You may need additional packages, I just went for mono-complete.