I had a MPR121 in my tool box. After getting my Raspberry Pi 2 installed with Windows IoT Core, I wanted to get this MPR121 Capacitive touch break out board working with it. While Adafruit had a library for Arduino, there wasn’t an MPR121 Driver for Windows IoT Core readily available. So I wrote this Windows.IoT.Core.HWInterfaces.MPR121 library in C# that can be used with the Raspberry Pi. In addition to the sample app available in the Github repo, I also created a Touch sensitive Christmas tree using this library. This post describes a few things about the MPR121 library.
Had a load of fun getting my Raspberry PI 2 set up with Windows IoT core and the whole development environment that’s needed for it.
Windows 10 and Visual Studio
Can’t develop for Windows IoT core without Windows 10. So had to set up Windows 10 on Mid 2011 Mac. The problem was my Mac already had Debian Linux running on a separate partition. I used the wonderful rEFInd boot manager from Rod Smith earlier to do the partitioning and it came in handy to add the third partition for windows 10. Had some quirky troubles with the Apple Wireless mouse and keyboard but i have a wired keyboard/mouse connected to the Mac just in case. So now my mac has two keyboards and two mouse.. 🙂 One day i need to get around to fixing the problem permanently. After getting Windows 10 on the Mac, installing VS 2015 was a breeze.