Skip to content

Commit fb0c1df

Browse files
committed
SN_Photoresistor
1 parent 50cd900 commit fb0c1df

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
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
@@ -10,7 +9,8 @@
109
;
1110
[env:usermod_sn_photoresistor_esp8266_2m]
1211
extends = env:esp8266_2m
12+
custom_usermods = ${env:esp8266_2m.custom_usermods} SN_Photoresistor
1313
build_flags =
1414
${common.build_flags_esp8266}
15-
-D USERMOD_SN_PHOTORESISTOR
15+
-D USERMOD_SN_PHOTORESISTOR_MEASUREMENT_INTERVAL=60
1616
lib_deps = ${env.lib_deps}

0 commit comments

Comments
 (0)