|
tds 2.2.0
|
TDS Click Example. More...
Functions | |
| void | application_init (void) |
| void | application_task (void) |
| int | main (void) |
TDS Click Example.
This example demonstrates the usage of the TDS Click board, which measures the Total Dissolved Solids (TDS) in water. The application initializes the TDS Click board, establishes communication, and continuously reads the TDS value in parts per million (ppm).
The demo application is composed of two sections:
Initializes the logger and configures the TDS Click board. It sets up communication using either ADC or I2C, verifies proper initialization, and prepares the device for measurement.
Continuously reads the TDS value from the sensor and logs it in ppm (parts per million).
| void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
| void application_task | ( | void | ) |
| int main | ( | void | ) |