diff options
| author | Selene ToyKeeper | 2023-07-08 06:02:27 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2023-07-08 06:02:27 -0600 |
| commit | 20e8606889bae219626c23051fe7d74b4a67db12 (patch) | |
| tree | c1521aa9f92d325ca515c42f2a8846880b45ff6e /spaghetti-monster/spaghetti-monster.h | |
| parent | Fixed spurious voltage warnings in attiny1616 sleep mode. Fixed by SammysHP. (diff) | |
| download | anduril-20e8606889bae219626c23051fe7d74b4a67db12.tar.gz anduril-20e8606889bae219626c23051fe7d74b4a67db12.tar.bz2 anduril-20e8606889bae219626c23051fe7d74b4a67db12.zip | |
Partially fixed oscillating aux LED voltage colors while asleep.
Amplitude is smaller, frequency is slower, but it can still happen sometimes at
color boundaries on models with bright aux LEDs on high mode. (because that's
not a measurement error, it's actually oscillating voltage)
The Wurkkos TS11 in particular tends to bounce when crossing certain color
boundaries, because the aux LEDs are bright and change the voltage enough
to push it back and forth across the boundary.
Also sped up voltage measurement during first few seconds after turning off,
to compensate for slowdown caused by the lowpass filter... while slowing down
measurements afterward to slow the oscillation.
I tried a bunch of different methods, spanning a range of "stable but slow" to
"fast but unstable", and kept code clauses for three representative methods.
The one enabled by default is the best compromise I found to reduce the issue
as much as possible while keeping readings reasonably responsive.
Diffstat (limited to 'spaghetti-monster/spaghetti-monster.h')
0 files changed, 0 insertions, 0 deletions
