6 Commits
Author SHA1 Message Date
skogaby 8051c5063f (*) Make the air towers auto calibrate themselves instead of needing manual calibration
(*) Improve the auto calibration for the slider (32k has been tested, 16k has not)
(*) Move the calibration routines into the main loop, seems to improve consistency greatly
(*) Simplify the reactive lighting code
(*) Make the code style more consistent
2020-10-21 01:15:59 -05:00
skogaby b7955e99d7 Get my repo up to speed with Nicole's repo (acrylic CAD, lighted key dividers) 2020-07-06 22:33:18 -05:00
skogaby d88e3c51d1 Make the controller save all the configurable values to EEPROM and make the OpeNITHMConfig tool load the values from EEPROM and initialize the UI with the current controller values 2020-03-20 19:06:44 -05:00
skogaby 753365b71a Add a single, unified serial processor that can handle both LED updates and config commands. Make lighting mode toggleable during runtime without needing a reflash. Overhaul the analog air sensor thresholding logic to be simpler and more robust. Make the sensitivity for the slider and analog air sensors configurable. Make the serial commands adhere to the format the config tool will use. 2020-03-12 00:11:44 -05:00
skogaby 66b402d74a Fairly significant refactor.
* Add a new class, AutoTouchboard, which is responsible for calibrating itself on a per-key basis using a user single-touch as the basis for calibration
* Overhaul the main sketch to redo how input is handled (eliminate the keyboard callback concept). Don't double-read the air sensors
* Process every incoming frame of light updates and fix sign error that kept the controller one update behind in addition to dropping updates
2020-03-07 18:35:43 -06:00
veroxzik 1224fd5adc Addition of Serial-controlled RGB lights
Serial-controlled lights expects the following format:
Two header bytes, both 0xAA.
96 LED bytes, in BRG format, starting from the left of the slider and alternating between key and separator.
Two footer bytes, both 0xDD.
2019-12-23 13:57:11 -05:00