|
DIY Logging Volt/Ampmeter
|
convertValues.finishDisplayUpdates. Things to do in the near future:
Long-term future improvements:
MX_ADC1_Init();).MX_TIM2_Init();).getSW0();, getSW1(); and getENCkey();.LL_GetTick(); instead of HAL_GetTick();?changeDateTime).aBY56W_ContinuousRead? Send on every meter power-up?USART_HandleContinuousReception) when one meter is connected, way more if both are? Optimize this?data.power > 999.999, data.ah > 9999.999, data.wh > 9999.999RTC_dateTime_t struct somewhere?rtc.wday somewhere? data.current > 9.9999, data.voltage > 99.999 (these checks are as of v1.1 of this file unnecessary...)USART_HandleContinuousReception();)12<.