slightly cleanup code

This commit is contained in:
Siwat Sirichai 2024-03-16 22:55:25 +07:00
parent 1a9cbd34db
commit e5b0ac9f04
2 changed files with 152 additions and 205 deletions

View file

@ -35,6 +35,8 @@ SET_LOOP_TASK_STACK_SIZE(32*1024);
#define CT_PIN_AC_PHASE2 4
#define CT_PIN_AC_PHASE3 5
float adcToCurrent(uint16_t adc_value);
void handleMqttMessage(char *topic, char *payload);
void subscribeToMqttTopics();
void handlePageChange(uint8_t page);