From 0eeeb6dc600b625cc66588d0398643afa087b311 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 29 Jun 2021 20:14:03 +0200 Subject: [PATCH] set threshold for accumlator calculation --- esp32/include/DS2438.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esp32/include/DS2438.h b/esp32/include/DS2438.h index 83375c0..1969997 100644 --- a/esp32/include/DS2438.h +++ b/esp32/include/DS2438.h @@ -38,7 +38,7 @@ 0, /* Voltage */ \ 0, /* Current */ \ 0, /* Current */ \ - 0 /* Threashold */ \ + 0b10000000 /* Threshold to 4LSB */ \ } typedef struct PageOne {