Registration of badges and receiving votes only of voting badges implemented.

This commit is contained in:
2025-11-08 17:11:02 +00:00
parent 2a18995886
commit 34346e715d
20 changed files with 36262 additions and 35759 deletions

View File

@@ -2,6 +2,7 @@
#define MAIN_H
#include <Arduino.h>
#include <vector>
#include <lvgl.h>
#include <TFT_eSPI.h>
#include <XPT2046_Touchscreen.h>
@@ -10,11 +11,15 @@
#include <WiFi.h>
#include <PicoMQTT.h>
#include <SPIFFS.h>
#include <WebServer.h>
#include "vars.h"
#include "actions.h"
#define IBVS_BADGE 1
#define IBVS_PROCESSOR 2
#define START_SCREEN_WAIT (4 * 200) // First number is the time in seconds
#define NUM_OF_BADGES (10 + (10*8)) // First and second number have to be equal and is the number of badges
// Struct objects for main data