swap raingauge

This commit is contained in:
interfisch 2024-03-26 16:11:17 +01:00
parent 496a72255d
commit 4e87434b61
1 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@
data_dir=data_sensoratd03
#Outdoor
#Outdoor Weatherstation
[env:sensoresp0]
platform = espressif8266 @ 2.5.0 #using old esp version, because of "obsolete API, use ::begin(WiFiClient, url)" error. Try again if fix available in platformio over vscode
board = d1_mini
@ -68,10 +68,10 @@ build_flags =
-D SENSOR_RAINGAUGE
-D SENSOR_Raingauge_PIN=D7
-D RAINGAUGE_FLIPAMOUNT=0.29914
-D RAINGAUGE_FLIPAMOUNT=0.332
-D SENSOR_Raingauge_readdelay=1000
-D SENSOR_Raingauge_senddelaymax=1000*60*60 #also used for rain waiting timeout
-D SENSOR_Raingauge_interruptmode=CHANGE
-D SENSOR_Raingauge_interruptmode=RISING
# Cable from Anemometer: Black=GND, Blue=3v3, Brown=Signal (needs pullup (internal))
#Cable colors from anemometers sensor (before longer able): blue=gnd, brown=vcc, white=signal