intel-iot-devkit / zmraa

mraa.io implementation for Zephyr. Provides a way to use the mraa.io C API on Zephyr 1.4, 1.5 & 1.6 and use UPM modules.
MIT License
8 stars 13 forks source link

aio: Implemented mraa_aio_read_float and adc bit shifting #9

Closed pylbert closed 8 years ago

pylbert commented 8 years ago

UPM C sensor drivers rely on mraa_aio_get/set_bit as well as mraa_aio_read_float. Added these methods and supporting code.

Removed some misc printf's which appear like they were there for mraa debugging on zephyr.

Tested on zephyr 1.5.

Signed-off-by: Noel Eck noel.eck@intel.com

arfoll commented 8 years ago

Merged