8 #ifndef ATLAS_WQ_SENSOR_H 9 #define ATLAS_WQ_SENSOR_H 12 #define CONDUCTIVITY 100 13 #define TEMPERATURE 102 18 #define ATLAS_MAX_ITER 100 76 uint8
zip_atlas_wq(
char *labels[],
float readings[], uint8 *array_ix, uint8 max_size);
uint8 zip_atlas_wq(char *labels[], float readings[], uint8 *array_ix, uint8 max_size)
Inserts current values of water quality measurements into labels and readings arrays.
Definition: atlas_wq_sensor.c:140
uint8 atlas_take_single_reading(uint8 sensor_address, float *reading)
Take a single reading from Atlas sensor in I2C mode. Used for Temperature, DO, ORP and PH...
Definition: atlas_wq_sensor.c:43
int atlas_sensor_calibrate(uint8 sensor_address)
Calibrate Atlas sensor using single-point method.
Definition: atlas_wq_sensor.c:27
uint8 atlas_take_con_reading(con_reading *reading)
Take a single reading from Atlas sensor in I2C mode. Used for conductivity sensor.
Definition: atlas_wq_sensor.c:85
int atlas_sensor_sleep(uint8 sensor_address)
Put Atlas I2C sensor into sleep mode.
Definition: atlas_wq_sensor.c:12