esp8266-vindriktning-particle-sensor icon indicating copy to clipboard operation
esp8266-vindriktning-particle-sensor copied to clipboard

Fix up and document delay() hack in uart receive

Open patrickxia opened this issue 2 years ago • 0 comments

This is still a hack but a little bit less of one with an actual explanation instead of a scary comment.

The correct thing to do is advance through a state machine that detects the header and produces a symbol once we have received an entire message. But all my hardware is currently deployed with this code so we'll ship what's tested as opposed to what's theoretically correct.

patrickxia avatar Sep 30 '23 14:09 patrickxia