← index #6945PR #6946
Duplicate · high · value 6.510
QUERY · ISSUE

ESP8266: PWM glitches when doing DHT measure

openby EddieParisopened 2021-02-21updated 2022-03-30
port-esp8266

When using a PWM channel in parallel of a DHT measure, there can be some glitches on the PWM channel at the measure time. This is because the DHT drivers locks interrupts for accurate protocol timing handling, and the PWM driver relies on these interrupts.

CANDIDATE · PULL REQUEST

Add option in DHT driver to do the measure without blocking interrupts

openby EddieParisopened 2021-02-21updated 2024-03-07
drivers

This is done because ESP8266 has a PWM relying on interrupts.
Doing the DHT measure with interruption blocking, sometimes makes
glitches on the PWM.

fixes #6945

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied