aboutsummaryrefslogtreecommitdiff
path: root/docs/edison.md
diff options
context:
space:
mode:
authorAlex Tereschenko <alext.mkrs@gmail.com>2015-06-07 09:56:37 +0200
committerBrendan Le Foll <brendan.le.foll@intel.com>2015-06-07 17:05:52 +0100
commitae9130ee8f8d78dd7b1b121a15145db46f39377f (patch)
tree2d04a180c3a626f0d79f2f2b5646d3a2eb839e54 /docs/edison.md
parent299bf5ab27191e60ea0280627da2161525fc8990 (diff)
edison.md: corrected ADC resolution data
Edison kit for Arduino has TI ADS7951 ADC, which has "12-stored-in-16" bit resolution. Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Diffstat (limited to 'docs/edison.md')
-rw-r--r--docs/edison.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/edison.md b/docs/edison.md
index 2815057..7e15df8 100644
--- a/docs/edison.md
+++ b/docs/edison.md
@@ -23,8 +23,10 @@ in libmraa:
- Max SPI speed is 25Mhz/4 ~6.25Mhz
- SPI PM can sometimes do weird things you can disable it with:
`echo on > /sys/devices/pci0000\:00/0000\:00\:07.1/power/control`
-- ADC kernel module will return 12bit number but the ADC itself only has an
- accuracy of 10bits. This ADC is only included on the Arduino board.
+- ADC kernel module will return 16bit number but the ADC itself only has an
+ accuracy of maximum 12bits and in MRAA it's limited to 10bits by default.
+ Use `mraa_aio_set_bit(12)` to switch to the maximum resolution mode.
+ This ADC is only included on the Arduino board.
- AIO pins are treated as 0-5 in `mraa_aio_init()` but as 14-19 for everything
else. Therefore use `mraa_gpio_init(14)` to use A0 as a GPIO
- Arduino pin 7 can sometimes negatively impact the WiFi capability, if using