Arduino Sketch tests a 3D Printer TL-TOUCH auto leveling sensor

Hi,
I just tested my newly arrived 3D touch sensor with this sketch; seems to work!
It will be useful for troubleshooting, just in case the sensor stops working.

Thank you for sharing!
Karma +1 (I actually created an account specifically to thank you for the sketch)

Nicola