main/config.c

Sun, 16 Apr 2023 12:27:12 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Sun, 16 Apr 2023 12:27:12 +0200
changeset 30
7448b8dd4288
parent 12
bb72d448e282
permissions
-rw-r--r--

Preparations for BLE GATT. Added extra time after INA219 is powered on before measurement. Reduced LEDC frequency to 60 Hz, that makes the LED lights less nervous. Hardware mod on output 4, now needs external pulldown resistor.


#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