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

Rewrite the example code to be more readable #50

Closed mandulaj closed 2 years ago

mandulaj commented 3 years ago

At the moment, the example code is written in a very verbose way that does not look very appealing. We should aim for examples that are around 20 lines of compact, elegant code.

Most of the code centers around error handling. Perhaps, this should be somehow compressed and made more readable.

mandulaj commented 2 years ago

Done in rel1.1