Initial commit, getting all the stuff from PlatformIO

This commit is contained in:
2025-11-02 17:55:41 +00:00
commit 4b4b816a8c
3003 changed files with 1213319 additions and 0 deletions

32
src/actions.cpp Normal file
View File

@@ -0,0 +1,32 @@
#include "actions.h"
#include "main.h"
extern "C" void action_act_butt_1(lv_event_t *e) {
mqtt_send_result('1');
}
extern "C" void action_act_butt_2(lv_event_t *e) {
mqtt_send_result('2');
}
extern "C" void action_act_butt_3(lv_event_t *e) {
mqtt_send_result('3');
}
extern "C" void action_act_butt_4(lv_event_t *e) {
mqtt_send_result('4');
}
extern "C" void action_act_butt_5(lv_event_t *e) {
mqtt_send_result('5');
}
extern "C" void action_act_badge(lv_event_t *e) {
current_screen = 'B';
screenNeedsUpdate = true;
}
extern "C" void action_act_processor(lv_event_t *e) {
current_screen = 'H';
screenNeedsUpdate = true;
}