Lack of little knowledge for coding of inductive sensor
My idea was to be able to monitor a gear with the sensor and be able to get a message when the gear is stationary. Ie my plan is pt. to make digital input signal (ON / OFF) and get an output when the sensor has not detected "on / off" for 2 sec.
Here I need some help with the code part.
Anyone who has some inspiration? It's been a while since I've been nerded with it