I know normally with most sensors (photoresistors, flex sensors, force sensors, etc) you would normally connect you sensor to the analog pins of the arduino. I'm currently working on a project and I'm wanting to use a force sensor like a switch and I need to connect the force sensor directly to a digital pin of the arduino. I don't want to use the analog side.
Does anyone know if this is possible? Or generally how to get the arduino to recognize the force sensor as a switch?
Does the readButton command only work for pushbuttons?