I want ADC input on the tinyg to measure the output of a sensor. I’ve already implemented it against the edge version. It will sample the \SS2 pin and output it in the same way you query configuration values.
Here’s the .hex file : https://www.dropbox.com/s/beru9dte1clwbu0/tinyg.hex?dl=0
Here’s the source in case someone wants to re-git-up-the-diff : https://www.dropbox.com/s/r3h3beglrjg3h10/TinyG-edge.zip?dl=0
and to query the ADC use the command syntax
{“adc0″:””}
it returns a 12-bit value.
-
This topic was modified 9 years, 4 months ago by thereza.