admarschoonen / TouchLib

A generic touch library for Arduino, usable for both resistive and capacitive touch
GNU Lesser General Public License v3.0
28 stars 4 forks source link

Add option to retune sensors #13

Open admarschoonen opened 6 years ago

admarschoonen commented 6 years ago

TouchLib can be extended to read settings from EEPROM. Then the semi-autotuning example can be extended to generate code that opens a service menu if you hit a magic key combination over the serial monitor. In the service menu, there should be 3 options:

  1. retune the sensor (which writes the new values to EEPROM)
  2. read back EEPROM (which spits out a bunch of hex codes on serial monitor)
  3. write EEPROM with hex codes from serial monitor