ESP32-C3 firmware for interactive treasure hunt device with RFID, OLED display, LED effects, buzzer, and touch input. Includes 3D printable STL files for the enclosure. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
27 lines
612 B
INI
27 lines
612 B
INI
; PlatformIO Project Configuration File
|
|
; Minecraft Orb - ESP32-C3 SuperMini
|
|
; https://docs.platformio.org/page/projectconf.html
|
|
|
|
[env:esp32c3]
|
|
platform = espressif32
|
|
board = esp32-c3-devkitm-1
|
|
framework = arduino
|
|
|
|
; Serial monitor
|
|
monitor_speed = 115200
|
|
|
|
; Build flags
|
|
build_flags =
|
|
-DARDUINO_USB_CDC_ON_BOOT=1
|
|
-DARDUINO_USB_MODE=1
|
|
|
|
; Libraries
|
|
lib_deps =
|
|
; OLED Display (SSD1306 via I2C)
|
|
adafruit/Adafruit SSD1306@^2.5.7
|
|
adafruit/Adafruit GFX Library@^1.11.5
|
|
; RFID Reader (RC522 via SPI)
|
|
miguelbalboa/MFRC522@^1.4.10
|
|
|
|
; Upload settings for ESP32-C3 SuperMini
|
|
upload_speed = 921600
|