File tree Expand file tree Collapse file tree
usermods/SN_Photoresistor Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11; Options
22; -------
3- ; USERMOD_SN_PHOTORESISTOR - define this to have this user mod included wled00\usermods_list.cpp
43; USERMOD_SN_PHOTORESISTOR_MEASUREMENT_INTERVAL - the number of milliseconds between measurements, defaults to 60 seconds
54; USERMOD_SN_PHOTORESISTOR_FIRST_MEASUREMENT_AT - the number of milliseconds after boot to take first measurement, defaults to 20 seconds
65; USERMOD_SN_PHOTORESISTOR_REFERENCE_VOLTAGE - the voltage supplied to the sensor, defaults to 5v
109;
1110[env:usermod_sn_photoresistor_esp8266_2m]
1211extends = env:esp8266_2m
12+ custom_usermods = ${env:esp8266_2m.custom_usermods} SN_Photoresistor
1313build_flags =
1414 ${common.build_flags_esp8266}
15- -D USERMOD_SN_PHOTORESISTOR
15+ -D USERMOD_SN_PHOTORESISTOR_MEASUREMENT_INTERVAL =60
1616lib_deps = ${env.lib_deps}
You can’t perform that action at this time.
0 commit comments