mandulaj / PZEM-004T-v30

Arduino library for the Updated PZEM-004T v3.0 Power and Energy meter
MIT License
256 stars 108 forks source link

Use with the ESP8266 Async Webserver #28

Open ianburton20 opened 4 years ago

ianburton20 commented 4 years ago

Need to use this library with the Async Webserver on https://github.com/me-no-dev/ESPAsyncWebServer

With the Async Webserver you can not use yield or delay or any function that uses them inside the callbacks.

PZEM004Tv30.cpp uses a yield() in PZEM004Tv30::receive

Is it OK to remove this yield statement?