Patrick Joy
Patrick Joy
Does this PR allow wifi/bt modems to be completely switched off as described as "modem sleep" here? https://lastminuteengineers.com/esp32-sleep-modes-power-consumption/#:~:text=another%20power%20mode.-,ESP32%20Modem%20Sleep,20%20mA%20at%20high%20speed.
> > Does this PR allow wifi/bt modems to be completely switched off as described as "modem sleep" here?. > > This looks like the PS_MIN_MODEM mode described [here](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/wifi.html#esp32-wi-fi-power-saving-mode). >...
> You can see the results of some of my [experiments with optimising wifi power consumption](https://github.com/glenn20/upy-esp32-experiments/blob/main/ESPNowvsWifiEnergyUsage/README.md#send-status-over-wifi-from-_bootpy-commit-44a1341). In particular, the wifi graphs show clearly the steps in power consumption in PS_MIN_MODEM...
@jimmo @dpgeorge any chance we can get this one reviewed/merged? I imagine datetime.now() would be one of the more common methods in the datetime library and it would be good...
I have noticed something similar when using the Pico W. In my case I am recording and replaying raw bursts from proprietary A/C remotes. Acquiring is always fine however when...
Thanks Peter, I can confirm it's definitely impacted by wifi however the problem is compounded by the fact that in my case the Pico is very busy and the pulses...
Not sure if it's a bug but definitely a limitation. I will raise an issue and if I get DMA working I will submit a PR for you.
Hi @peterhinch Great news, adding the hard IRQ's seems to have resolved the problem, thanks for picking that up. When I added your suggested line it did stop all IR...
Small thing but is it fair to say that pin_pulse can't be used at the moment because it isn't a parameter on __init__? ```python class IR: _active_high = True #...
> Re the `irq` line I'll accept your PR as it's been tested, but looking at [the docs](https://docs.micropython.org/en/latest/library/rp2.StateMachine.html#rp2.StateMachine.irq) and [the source](https://github.com/micropython/micropython/blob/64f28dc1eb542c90e38e89cd55b5452ed59290d0/ports/rp2/rp2_pio.c#L343) I'm puzzled as to why mine didn't work. I'll...