After publication of Raspberry Pi 2 Microsoft wrote that its Windows 10 will be support this platform. Now, coming Windows 10 IoT which supports Raspberry Pi 2 (and MinnowBoard Max and Intel Galileo). And more, Microsoft posted a lot of sample programs with Windows 10 IoT with other IC. Blnking? No problem. And accelerometer. SPI and display. Or you can write own concole app.