Figure 43. Polling
Accelerometer sensor setup
Prerequisites
Windows standard APIs: FromIdAsync(String), GetCurrentReading(), GetDefault(), and GetDeviceSelector(Guid interfaceId) are
used for accessing the sensor. For details, go to https://docs.microsoft.com/en-us/uwp/api/windows.devices.sensors.custom?
view=winrt-22000.
About this task
The ADXL345 accelerometer sensor is connected to I2C bus 2 of the EGW-3200. This sensor is detected as a accelerometer
sensor and follows Windows sensor framework.
See the Humidity and temperature sensor setup on page 33 section for the following tasks:
● Build the sample application
● Create the MSIX package
● Import the certificate
● Install the application
Run the accelerometer sensor application
Steps
1. Choose accelerometer: Click the Standard type of accelerometer.
Setting Up the Windows 10 Operating System
45