Use Windows Devices from Python (e.g. GPIO, I2C, SPI)
•Right-click on the References node in the Python project
•Click Add Reference…
•Click on Browse tab
•Download pywindevices content from here
•Navigate to ARM for RPi2 or win32 for MBM
•Select the PYD file for the device type and configuration you want to use (e.g. _wingpio_d.pyd if a Debug configuration and _wingpio.pyd for a Release configuration)
•Add import _wingpio as gpio to your StartupTask.py
•Start using gpio functions (similar steps for I2C or SPI)
•WinDevices documentation can be found here
https://github.com/ms-iot/samples/tree/ ... vices/docs
ricl : F/gamma = ma : Law ii(a) : https://climatedatablog.wordpress.com/2016/01/02/an-energy-challenge-2016/ #AnEnergyChallenge2016