I am currently working with Windows 10 IoT and RaspberryPi 3b + MPU6050 connected over I2C.
While looking around I found windows.devices.sensors.accelerometer and windows.devices.sensors.gyrometer. I think these classes can be used on Windows Phones to access Sensorreadings, so I was wondering:
Is it possible to integrate my MPU6050 sensor-boards accelerometer and gyroscope to work with these classes?
To connect MPU6050 with Windows IoT Core via I2C you can refer to "Windows 10: How to use IoT extension for Raspberry Pi 2 (part 2)" and "MPU6050 Accelerometer on Windows 10 Raspberry 2".
If you want to check windows.devices.sensors.accelerometer API work or not you can refer to "UWP sample - Accelerometer sample". But to use these API the sensor need be supported. You may need related driver.
The driver for a sensor must indicate that the hardware is integrated with the PC chassis for it to be accessible via this namespace. Sensors not marked as PC-integrated, even if they are of a supported type, will not be accessible. Driver developers can refer to SensorConnectionType enumeration for more details. (Windows.Devices.Sensors Namespace)