GPIO输入Intel Joule !!!! [英] GPIO Input Intel Joule !!!!
问题描述
我正在使用带有Windows IoT的英特尔Joule扩展板
我可以使用GPIO作为输出但我该如何使用它作为输入??
所有GPIO都作为输出工作,但没有人作为输入...如果有人知道如何解决它...也许它在BIOS ????我在英特尔社区问过它,但是他们发给我这里
提前感谢您的帮助!
您需要将驱动模式设置为GpioPinDriveMode.Input
例如
使用 Windows.Devices.Gpio ;
..
GpioController gpio = GpioController 。 GetDefault (); 使用(GpioPin pin = gpio.OpenPin(5)){
pin.SetDriveMode(GpioPinDriveMode.Input);
}
Hi,
I'm using Intel Joule Expansion Board with Windows IoT
I can use GPIO as an ouput but how can i do to use it as an input ??
All GPIO work as output, but no one works as Input... If someone know how to resolve it ... Maybe it's in BIOS ???? I asked it on Intel Community, but they send me here
Thank you in advance for your help!
you need to set the drive mode to GpioPinDriveMode.Input
for example
using Windows.Devices.Gpio;
..
GpioController gpio = GpioController.GetDefault();
using (GpioPin pin = gpio.OpenPin(5)) {
pin.SetDriveMode(GpioPinDriveMode.Input);
}
这篇关于GPIO输入Intel Joule !!!!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!