Add initial PlatformIO configuration and main application code

- Created platformio.ini for ESP32 Devkit configuration with DFPlayer Mini library dependency.
- Implemented main application logic in main.cpp, including LED and buzzer control, and MP3 playback functionality using DFMiniMp3 library.
- Added notification class for handling MP3 player events and errors.
- Set up input pins for buttons and output pins for LEDs, with synchronization logic.
- Included basic setup and loop functions to manage state and playback.
- Added README for test directory to outline unit testing purpose and resources.
This commit is contained in:
André Fiedler
2025-10-17 14:46:24 +02:00
parent 71cf8c748e
commit ff5fe502b7
19 changed files with 560 additions and 0 deletions

17
platformio.ini Normal file
View File

@@ -0,0 +1,17 @@
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env:esp32doit-devkit-v1]
platform = espressif32
board = esp32doit-devkit-v1
framework = arduino
monitor_speed = 115200
lib_deps =
makuna/DFPlayer Mini Mp3 by Makuna@^1.2.3