File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
usermods/SN_Photoresistor Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 33#include " wled.h"
44
55// Pin defaults for QuinLed Dig-Uno (A0)
6+ #ifndef PHOTORESISTOR_PIN
67#define PHOTORESISTOR_PIN A0
8+ #endif
79
810// the frequency to check photoresistor, 10 seconds
911#ifndef USERMOD_SN_PHOTORESISTOR_MEASUREMENT_INTERVAL
@@ -207,4 +209,4 @@ const char Usermod_SN_Photoresistor::_readInterval[] PROGMEM = "read-interval-s"
207209const char Usermod_SN_Photoresistor::_referenceVoltage[] PROGMEM = " supplied-voltage" ;
208210const char Usermod_SN_Photoresistor::_resistorValue[] PROGMEM = " resistor-value" ;
209211const char Usermod_SN_Photoresistor::_adcPrecision[] PROGMEM = " adc-precision" ;
210- const char Usermod_SN_Photoresistor::_offset[] PROGMEM = " offset" ;
212+ const char Usermod_SN_Photoresistor::_offset[] PROGMEM = " offset" ;
You can’t perform that action at this time.
0 commit comments