PowerShell / PowerShell-IoT

Interact with I2C, SPI & GPIO devices using PowerShell Core!
https://www.powershellgallery.com/packages/Microsoft.PowerShell.IoT
MIT License
130 stars 28 forks source link

Getting RAW data #43

Closed L-P-G closed 6 years ago

L-P-G commented 6 years ago

When I have something like a photo resistor connected a GPIO pin. How can I get the actual resistance instead of High/Low?

L-P-G commented 6 years ago

Figured it out, the Pi doesn't have analog pins, you have to use an ADC