feat(data) undefined: Added new HTML file for piano spectrum analyzer. fix(Config.h): Updated WiFi settings and web configuration portal details. refactor(Arduino sketch): Added WiFi and WebSocket support, enabling real-time spectrum data transmission over the

- New HTML file added to the `data` directory for a piano spectrum analyzer.
- Updated `Config.h` with WiFi settings and web configuration portal details.
- Update the Arduino sketch with WiFi and WebSocket support, enabling real-time spectrum data transmission over the web.
This commit is contained in:
2025-04-25 19:00:28 +02:00
parent c83d04eb23
commit 91b24e0da0
3 changed files with 185 additions and 3 deletions

View File

@@ -6,6 +6,12 @@ namespace Config {
// Serial Configuration
constexpr int SERIAL_BAUD_RATE = 115200; // Serial communication baud rate
// WiFi Configuration
constexpr const char* WIFI_AP_NAME = "ESP32Piano"; // AP name when in configuration mode
constexpr const char* WIFI_AP_PASSWORD = "12345678"; // AP password when in configuration mode
constexpr uint32_t WIFI_CONFIG_TIMEOUT = 180; // Seconds to wait for WiFi configuration
constexpr uint32_t WIFI_CONFIG_PORT = 80; // Web configuration portal port
// I2S Pin Configuration
constexpr int I2S_MIC_SERIAL_CLOCK = 8; // SCK
constexpr int I2S_MIC_LEFT_RIGHT_CLOCK = 9; // WS/LRC