; 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:esp32-c3-devkitm-1] ;; Compatible with the ESP32-C3 Super Mini board platform = espressif32 board = esp32-c3-devkitm-1 framework = arduino lib_deps = adafruit/Adafruit NeoPixel@^1.12.3 bblanchon/ArduinoJson@^7.1.0 sstaub/NTP@^1.6 tzapu/WiFiManager@^2.0.17 khoih-prog/ESP32_C3_TimerInterrupt@^1.8.0 build_flags = -D ARDUINO_USB_MODE=1 -D ARDUINO_USB_CDC_ON_BOOT=1 ;; ;; Enable and disable optional features here, or change their pin mappings: ;; ;; FEATURE_CONFIGAP: Always start the WifiManager access point if the pin provided here is pulled LOW during powerup. -D FEATURE_CONFIGAP=5 ;; FEATURE_CONFIGAP_GND: If enabled, this pin is always driven LOW. ;; Intended to provide a neighboring "pseudo-GND" pin next to the CONFIGAP pin for using a jumper between the two. -D FEATURE_CONFIGAP_GND=6 ;; FEATURE_LDR: If enabled, read the ambient brightness via an LDR connected to the ADC through the pin provided here. ;; The pin provided MUST be an ADC-capable pin (0-5 on the ESP32-C3 Super Mini). This enables the following features: ;; - Turning off the LEDs below a certain (configurable) brightness. ;; - Scaling the LED output power with the ambient brightness. ;; - Additional parameters in the WifiManager config menu for configuring these features. ;; Check out the README for a schematic of how to wire up the LDR. -D FEATURE_LDR=3