refactoring

This commit is contained in:
2026-01-27 17:50:50 +01:00
parent 3936402e42
commit cbfe305e9d
5 changed files with 20 additions and 37 deletions
+1 -7
View File
@@ -1,19 +1,13 @@
#include <WiFi.h>
#include <WebServer.h>
#include <ArduinoJson.h>
#include "structs.h"
const char* ssid = "PPIA";
const char* password = "pawelpdaldonejta";
WebServer server(80);
// Declare the new_image buffer to temporarily store uploaded image
struct Pixel {
unsigned short x;
unsigned short y;
uint32_t color;
};
Pixel new_image[16][16];
void handleRoot() {