SuperHouse / esp-open-rtos

Open source FreeRTOS-based ESP8266 software framework
BSD 3-Clause "New" or "Revised" License
1.52k stars 491 forks source link

Add ADS1015 support to ads111x lib. #678

Closed k-korn closed 5 years ago

k-korn commented 5 years ago

ADS101x is a faster version of ADS111x ADC, with lower precision. This change provides basic support for device, by defining sample rates used by ADS101x and providing new ads101x_get_value() function with proper 4-bit shift to obtain actual ADC value.

UncleRus commented 5 years ago

Thank you!