Update usermod_sn_photoresistor.h

Allow to configure the analog input pin for the Photoresistor.
This commit is contained in:
xkvmoto 2024-06-07 19:50:45 +02:00 committed by GitHub
parent 25ade86994
commit 8a1df9afee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,7 +3,9 @@
#include "wled.h"
//Pin defaults for QuinLed Dig-Uno (A0)
#ifndef PHOTORESISTOR_PIN
#define PHOTORESISTOR_PIN A0
#endif
// the frequency to check photoresistor, 10 seconds
#ifndef USERMOD_SN_PHOTORESISTOR_MEASUREMENT_INTERVAL