ADC input

Started by thereza on in TinyG Feature Requests. 1 reply, last activity Jun 29, 2015.

#7895

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.

Back to TinyG Feature Requests or the forum archive.