[][src]Crate anyleaf

Driver for the Anyleaf pH module

Structs

CalPt

Data for a single pH (or other ion measurement) calibration point.

PhSensor

Enums

CalSlot

Keeps our calibration organized, so we track when to overwrite.

Functions

temp_from_voltage

Map voltage to temperature for the TI LM61, in °C Datasheet: https://datasheet.lcsc.com/szlcsc/Texas- Instruments-TI-LM61BIM3-NOPB_C132073.pdf

voltage_from_adc

Convert the adc's 16-bit digital values to voltage. Input ranges from +- 2.048V; this is configurable. Output ranges from -32_768 to +32_767.

Type Definitions

Adc