We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
energy_meter/main.c
energy_meter/core.h
char em_sampling_stack[THREAD_STACKSIZE_SMALL]; char em_logging_stack[THREAD_STACKSIZE_LARGE];
double
uint8_t
/* @em_realtime contains all notable datas: * -rms_c/v▸ : real time values, they're update each sec * -rms_*_1m▸ : last minute average, they're update each 60 sec * -log_1m_ready : true when last minute average is ready */ struct em_realtime { ▸ double rms_c, rms_v; ▸ double rms_c_1m, rms_v_1m; ▸ bool log_1m_ready; }; /* @em_loggin contains all temporary datas */ struct em_loggin { ▸ double c[60], v[60]; };
The text was updated successfully, but these errors were encountered:
No branches or pull requests
energy_meter/main.c
andenergy_meter/core.h
double
for the struct we can use twouint8_t
to store the decimal and the unit partThe text was updated successfully, but these errors were encountered: