aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/werner/werner.c
diff options
context:
space:
mode:
authorSelene ToyKeeper2020-02-05 23:34:44 -0700
committerSelene ToyKeeper2020-02-05 23:34:44 -0700
commit14ad6787546b3a2c55c129c8bd95eb6b98f14531 (patch)
tree14ccb220c71b00e3463a0337de8f83da72e7898b /spaghetti-monster/werner/werner.c
parentstill doesn't work, but at least it's a bit less broken than before... (diff)
downloadanduril-14ad6787546b3a2c55c129c8bd95eb6b98f14531.tar.gz
anduril-14ad6787546b3a2c55c129c8bd95eb6b98f14531.tar.bz2
anduril-14ad6787546b3a2c55c129c8bd95eb6b98f14531.zip
brute force method for reducing ADC noise -- average a ridiculous number of samples
(because, for some reason, even though 64 samples is plenty in a test program, it ends up being extremely erratic when used inside Anduril... and I'm not sure why) also, use 15-bit ADC values instead of 16 bits, in the temperature logic (to help protect against integer overflows) ... but this code still doesn't work well. It regulates down *very* fast, and then gradually rises until the next extra-fast drop-down. :( ... also, tempcheck mode sometimes changes by 4-5 C between readouts, which is worrisome. ... and factory reset is still broken.
Diffstat (limited to 'spaghetti-monster/werner/werner.c')
0 files changed, 0 insertions, 0 deletions