Open jacoboth7 opened 1 year ago
I myself use both, but on separate ESP32. Therefore the examples do not support running both simultaneously on one ESP32, but I'm pretty sure someone who is more comfortable in assembler could extend that quite easily, I guess.
@jacoboth7 i ran into the same need and took the brute force method of doubling the processing (https://github.com/thomas-tomlinson/weather_station_base/blob/feature/ulp_sanity/ulp_two_pins.S). My project is MicroPython based so I had to move the GPIO RTC connection into the assembly code, which means the pins are hard coded. @d03n3rfr1tz3 thank you for sharing your assembly code for this, it helped me a lot.
Did anyone get it right to count pulses from the Wind sensor and Rain sensor simultaneously y using the ULP processor?