Write some controls for the LED strip at Swift Island 2025
- Ensure ESP-IDF is set up and installed
- Run:
# Get ESP IDF set up
# (changing the esp idf location if yours differs)
export TOOLCHAINS=$(plutil -extract CFBundleIdentifier raw ~/Library/Developer/Toolchains/swift-latest.xctoolchain/Info.plist) && . ~/esp/esp-idf/export.sh
idf.py set-target esp32c6
idf.py build flash monitor- Add a swift file to
main/LED/Animationsthen updatemain/CMakeLists.txtto include the new file- Add your code here! Be sure to conform to
Animation
- Add your code here! Be sure to conform to
- Update
main/Animations/Animation.swift'sAnimationsenum to add your new animation case - Update
main/Main.swiftto setup and run your animation (for testing make sure to disable random animation on start up!)