Format debug output by field

This commit is contained in:
2026-06-07 13:25:13 +09:00
parent 4a68bd39c6
commit 9ebe8656fb
3 changed files with 111 additions and 40 deletions
+23
View File
@@ -98,6 +98,29 @@ If IG1 is still ON:
autoCalOffTimer=waiting_for_ig_off
```
Debug mode prints a readable block every second, one item per line. Boolean values are printed as `true` or `false`:
```text
[DEBUG]
uptime=0h 0m 5s 123ms
raw=1023
ig=true
p=true
rawDrive=false
confirmedDrive=false
currentMs=0
targetMs=0
savedMs=6000
requestedRelay=0
actualRelay=0
manual=false
stabilizing=false
useCount=0/10
autoPending=false
forceCal=false
autoCalState=0
```
## Automatic Calibration
- Each `IG1 HIGH -> LOW` transition increments the EEPROM use counter.