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:
retune the sensor (which writes the new values to EEPROM)
read back EEPROM (which spits out a bunch of hex codes on serial monitor)
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: