Text this: The principle of resistive sensing