The Jaffx repository is a free, open-source tool for programming not only the JAFFX reprogrammable pedal, but also other projects using the Daisy Seed.
The repository is structured around use of a single header file that wraps the libDaisy hardware abstraction library and provides some additional utilities. Its use is demonstrated through the concise examples in examples/, and augmented by helpful scripts for generating project files, building, flashing and more.
- First, install the Daisy Toolchain.
- Once installed, run the
init.shscript to configure your local copy of this repository. - If not using a JAFFX device, connect your Daisy Seed via USB, and install a bootloader.
- With your device in program mode, use
run.sh path/to/source.cpp(orSHIFT+CMD+Bwith the source file open in VSCode) to build programs and flash them to your Daisy. You can usepython projectGen.py <project_name>to generate new projects inexamples/from the template.
Note
When developing for the Daisy, it is often useful to use serial monitoring for testing and debugging. Many examples in examples/ demonstrate this. If developing in VSCode, we recommend installing Microsoft's serial monitor extension, which will add easy access to serial monitoring via the terminal panel.