experiment with webserver, the goal is to show the score on a web server

This commit is contained in:
andrea
2026-03-15 22:35:59 +01:00
parent 28f029ce03
commit a48db73abb
5 changed files with 166 additions and 1 deletions

View File

@@ -4,6 +4,7 @@
#include "src/pong_render.h"
#include "src/pong_player.h"
#include "src/pong_ball.h"
#include "src/arduino_network.h"
// create LED matrix object
ArduinoLEDMatrix matrix;
@@ -45,6 +46,8 @@ void setup() {
pinMode(P2_BTN_BOTTOM, INPUT_PULLUP);
randomSeed(millis());
setup_network();
}
void loop() {
@@ -61,4 +64,6 @@ void loop() {
need_refresh= 0;
}
delay(50);
web_server();
}