Files
espurna/code
Maxim Prokhorov 6afeb88d87 sns: pzem004t initialization clean-up
Indexed address settings & build flags.
Old parsing code is still here, but depends on the old build flag presence.

Remove most of the singleton-related code, update terminal commands to
use ctx instead of just dumping debug strings.
Since the initialization happens in the sensor setup, and we know the
pzem pointer - simply pass the 'sensor' address to the function and
utilize the c++ local static variable feature that allows their use in
the function body and any lambdas declared within it.

Multiplexing is still happening with the index-math, due for a change at
a later date (...with serial / hwserial / stream changes...)
2021-09-03 15:23:19 +03:00
..
2021-08-30 14:34:30 +03:00
2019-07-11 00:34:17 +03:00
2021-08-12 10:49:09 +03:00
2019-07-11 00:34:17 +03:00
2021-08-16 17:00:57 +03:00
2019-07-11 00:34:17 +03:00