ms-iot / lightning

MIT License
16 stars 20 forks source link

Raspberry Pi Gpio Input Modes #59

Closed DhruvKoolRajamani closed 5 years ago

DhruvKoolRajamani commented 5 years ago

Hi, after going through the repository, I was unable to find the implementation of the InputPullDown mode offered by most controllers. Is there any chance to implement this for the Pi?

Windows.Devices.Gpio Drive Mode Reference: https://docs.microsoft.com/en-us/uwp/api/windows.devices.gpio.gpiopindrivemode

jordanrh1 commented 5 years ago

InputPullDown is supported by the inbox driver. Lightning is no longer being maintained.

DjArt commented 5 years ago

So how to use PWM & PullDown at the same time?

DjArt commented 5 years ago

https://github.com/DjArt/lightning/commit/64902d36e80b58a3c4ac1554da2fefdfa15def46 Fixed