/* Updates the touch screen threshhold level and saves it to EEPROM.  */
int tsSetThreshhold(uint8_t value)
/* Updates the touch screen threshhold level and saves it to EEPROM.  */
int tsSetThreshhold(uint8_t value)
{
  if ((value < 0) || (value > 254))
  {
    return -1;
  }
  _tsThreshhold = value;
  eepromWriteU8(CFG_EEPROM_TOUCHSCREEN_THRESHHOLD, value);
  return 0;
}