From 2fa8526295aeb26b82d74421e059deea085e184f Mon Sep 17 00:00:00 2001 From: DanyLE Date: Sun, 9 Jul 2023 18:31:09 +0200 Subject: [PATCH] enable ads1115 battery sendor monitoring --- conf/layer.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/layer.conf b/conf/layer.conf index 1ff368c..c30f03a 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -55,6 +55,8 @@ dtoverlay=waveshare-28dpi-3b \n\ dtoverlay=waveshare-28dpi-4b \n']['${RPI_USE_wS_28_DPI_LCD}' == '1']}" RPI_EXTRA_CONFIG += '\n\ +# enable ads1115 sensor for battery monitoring +dtoverlay=ads1115-i2c-gpio,cha_enable,cha_cfg=4,cha_datarate=7,cha_gain=1 #start_x=1 # essential \n\ #gpu_mem=128 # at least, or maybe more if you wish \n\ #disable_camera_led=1 # optional \n\