EmonLib
EmonLib copied to clipboard
Making Emonlib non-blocking
Hello,
I've had a brief look at the code and I'm wondering if it's possible to make the CalcVI function asynchronous? i.e. be able to constantly calculate the voltage and current, and also being able to perform other tasks at the same time? The best example of this usage would be a wall power meter with an LCD display, were you can seamlessly switch between displaying current, voltage, watts, change a settings, etc, while everything is still being calculated.
Hello,
I've had a brief look at the code and I'm wondering if it's possible to make the CalcVI function asynchronous? i.e. be able to constantly calculate the voltage and current, and also being able to perform other tasks at the same time? The best example of this usage would be a wall power meter with an LCD display, were you can seamlessly switch between displaying current, voltage, watts, change a settings, etc, while everything is still being calculated.
Hi,
I ve faced this problem too and I summarized it in here : https://github.com/openenergymonitor/EmonLib/issues/76
Have you had any solution for this situation ? If you can help, i will so appreciated...
Thanks a lot