main/config.c

Sun, 10 Sep 2023 17:29:15 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Sun, 10 Sep 2023 17:29:15 +0200
changeset 37
50dbb626fbab
parent 12
bb72d448e282
permissions
-rw-r--r--

Version 0.4.3. Attempt to fix the sunlight overflow of the APDS9930 sensor in the private part of the esp-idf-lib. Removed some error checks from functions that always return OK. Store light sensor registers in the state record and report the values in the json result string.


#include "config.h"

/*
 * Sensors parameters and defines
 */
bmp280_params_t         bmp280_params;
bmp280_t                bmp280_dev;

ina219_t		ina219_b_dev;
ina219_t		ina219_s_dev;

apds9930_t		apds9930_dev;

mercurial