main/config.c

Sat, 01 Apr 2023 21:06:59 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Sat, 01 Apr 2023 21:06:59 +0200
changeset 9
1659bd3c7a2b
parent 3
e5d91caa6ab4
child 12
bb72d448e282
permissions
-rw-r--r--

Added task_out to drive the relays and led lights. Added NVS namespace to store the state of the outputs. Respond to subscribed MQTT topics to set new output values.


#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;

mercurial