Skip to content

Commit c5ca01a

Browse files
committed
Change lipo voltages and timer interval
1 parent 64951c5 commit c5ca01a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

esp32/modules/splash.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -462,19 +462,19 @@ def load_settings():
462462
#if (sleep_duration>120):
463463
# print("[SPLASH] Sleep duration set to more than 120 seconds. Forcing 120 seconds.")
464464
global battery_volt_min
465-
battery_volt_min = badge.nvs_get_u16('splash', 'battery.volt.min', 3800) # mV
465+
battery_volt_min = badge.nvs_get_u16('splash', 'battery.volt.min', 3700) # mV
466466
global battery_volt_max
467-
battery_volt_max = badge.nvs_get_u16('splash', 'battery.volt.max', 4300) # mV
467+
battery_volt_max = badge.nvs_get_u16('splash', 'battery.volt.max', 4200) # mV
468468
global battery_percent_empty
469469
battery_percent_empty = badge.nvs_get_u8('splash', 'battery.percent.empty', 1) # %
470470
global ntp_timeout
471471
ntp_timeout = badge.nvs_get_u8('splash', 'ntp.timeout', 40) #amount of tries
472472
global bpp_after_count
473473
bpp_after_count = badge.nvs_get_u8('splash', 'bpp.count', 5)
474474
global splash_timer_interval
475-
splash_timer_interval = badge.nvs_get_u16('splash', 'timer.interval', 500)
475+
splash_timer_interval = badge.nvs_get_u16('splash', 'timer.interval', 200)
476476
global timer_loop_amount
477-
timer_loop_amount = badge.nvs_get_u8('splash', 'timer.amount', 10)
477+
timer_loop_amount = badge.nvs_get_u8('splash', 'timer.amount', 25)
478478

479479
# MAIN
480480
def splash_main():

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy