GPIO Access unter Win10 iot Core

I recently installed an UP2 board under Windows 10 iot Core. This worked so far.
Now I want to access the GPIO interface. There are some problems.
How can I access the GPIO interface in a UWP application under Win 10 ioT.
I have installed the framework "FrameworkSetup\iot", but I cannot access the GPIO interface.
The following call under C++
m_GPIOController = GpioController::GetDefault();
returns a null pointer.
How can I see if the driver is installed correctly (->UP Framework Service)
Is the command devcon status "@ROOT\DEVCON\0000" correct for this.
Access to the PWM driver seems to work. Anyway, no zero pointer comes back.
What am I doing wrong, does something have to be set in the BIOS? I have not done anything.
Friendly greetings
Willi
Answers
-
How can I see if the driver is installed correctly (->UP Framework Service)
Is the command devcon status "@ROOT\DEVCON\0000" correct for this. -
How can I use the GPIOs or the I2C interface via Win ioT within a UWP application.
In a UWP application, the devices are accessed via the namespaces
Windows.Devices.Gpio, Windows.Devices.I2c.Are these interfaces supported at all?
Is there a documentation available, is a sample program available?
There seems to be no information available in the Wiki about GPIO/I2C access via Win ioT /UWP.
Please send me a quick answer.
Friendly greetings
Willi Schneider
Categories
- All Categories
- 105 Announcements & News
- 54 Product News - New Product/Product Change Notice/ End-of-life
- 185 Welcome Developers!
- 55 Unboxing & Project Sharing
- 48 Tech Updates
- 693 UP Products
- 11 UP 7000
- 1 UP Squared i12
- 10 UP Xtreme i12
- 11 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 19 UP Squared V2
- 59 UP 4000
- 24 UP Xtreme i11
- 35 UP Squared 6000
- 60 UP Squared Pro
- 143 UP Xtreme
- 837 UP Squared
- 1.4K UP Board
- 89 UP Core Plus
- 222 UP Core
- 3 UP Xtreme Lite
- 44 UP AI Edge
- 216 Starter Kits & Peripheral