▸ /* save the rms measure of voltage and current */
▸ em->rms_c = ((rms_in_c * CT_RATIO) / bur_resistor);
▸ em->rms_v = 230; /* I don't have the voltage probe yet */
▸ (void)rms_in_v; /* workaround to silent the -Werror=unused-but-set-variable*/
▸ return 0;
As shown before the acquisition loop is ready to compute the voltage measure.
Take a look here 1 2 3
As shown before the acquisition loop is ready to compute the voltage measure.
Take a look here 1 2 3