Arduino sketch to let LED blink in function of resistance variation