You can also consider a hack to sample an Analog value with a digital pin - thought it isn't very fast, and can take a bunch of CPU, and open the potential to burn out the pin or chip, yet, it may give you a simple solution:
http://www.raspberrypi-spy.co.uk/2012/08/reading-analogue-sensors-with-one-gpio-pin/
K
Best posts made by Keith Horowitz
-
RE: Is there any way to read analogue input with the omega?
-
RE: How to get in private beta of Onion App Store?
@Boken-Lin Just got my onion omega today! Wanted to test my oled, but can not find any doc. Hoping for the library soon (today?)