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
- 63 Announcements & News
- 139 Product News - New Product/Product Change Notice/ End-of-life
- 112 Welcome Developers!
- 60 Unboxing & Project Sharing
- 114 Tech Updates
- 3.6K UP Products
- 119 UP 7000
- 25 UP Squared i12
- 24 UP Xtreme i12
- 14 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 24 UP Squared V2
- 65 UP 4000
- 23 UP Xtreme i11
- 34 UP Squared 6000
- 59 UP Squared Pro
- 135 UP Xtreme
- 820 UP Squared
- 1.4K UP Board
- 74 UP Core Plus
- 217 UP Core
- 3 UP Xtreme Lite
- 40 UP AI Edge
- 265 Starter Kits & Peripheral