Skip to content
This repository was archived by the owner on Apr 1, 2024. It is now read-only.

PlatformIO

Phil Schatzmann edited this page Jul 20, 2023 · 13 revisions
  1. Create a new PlatformIO project. Select the Arduino framework and Espressif ESP32 Dev Module as the board type.
  2. Add the following lines to your platformio.ini file:
lib_deps = https://github.com/pschatzmann/arduino-audiokit-hal
lib_ldf_mode = deep+
build_flags = -DAUDIOKIT_BOARD=5 
monitor_speed = 115200
  1. Correct the -DAUDIOKIT_BOARD above for the board you are using. The full list of the supported boards and settings can be found in AudioKitSettings.h For example, to use a LyraT v4.3 board (AUDIOKIT_BOARD type 1), edit -DAUDIOKIT_BOARD=5 to -DAUDIOKIT_BOARD=1. You don’t need to make the changes in the AudioKitSettings.h file itself.
  2. Create your sketch in main.cpp.
  3. Compile and upload
Clone this wiki locally