My Daisy Guitar Pedal Designs on GitHub

Printing log statements:

  1. enable debug logging by uncommenting this line DaisySeedProjects/Software/GuitarPedal/guitar_pedal.cpp at main · bkshepherd/DaisySeedProjects · GitHub
  2. If you want to print floats you can temporarily add this to the makefile: LDFLAGS += -u _printf_float Lost half day on figuring out how to debug/ print floats :/
  3. Add your print statements
  4. Run and connect with serial monitor, I use this Serial Monitor - Visual Studio Marketplace

Additionally, you could also put the tap tempo on the UI if you have a screen

The code used to print the CPU should be a good example of that and you could just pop it into your effects DrawUI (or even the base_effect_module itself)

This also shows how you can format floats for printing WITHOUT needing the above flags/configuration

Edit: Also because I had posted 3 times in a row before I was unable to post a 4th time a few days ago when something came up I wanted to post here, so in a way you freed me, thank you :slight_smile:

1 Like