Skip to content

Conversation

@chipaudette
Copy link

@chipaudette chipaudette commented Sep 23, 2024

There is currently no easy Arduino support for the Cleveland Music "Hothouse" pedal, which uses the Daisy Seed. This pull request adds the support.

My approach was to make the Hothouse look like another Daisy variant. So, all that is needed to access the Hothouse is:

hw = DAISY.init(CLEVELAND_HOTHOUSE, AUDIO_SR_48K);

Then, you access the pots, switches, and LEDs just like you would with the Daisy Petal:

float value= hw.controls[0].Value();  //potentiometers...[0] through [5]
bool on_off = hw.buttons[0].Pressed();  //switches [0] and [1] are the footswtiches.  Toggle switches are [2] through [7]
hwl.SetFootswitchLed(0, HIGH);  //set footswitch LED on or off (0 for left, 1 for right)

Might you accept a pull request to support hardware that is not entirely yours?

@chipaudette
Copy link
Author

chipaudette commented Sep 23, 2024

For anyone who has a Hothouse, an easy test using this branch is to pull up the "CombFilter" example for the Daisy Petal. In the Arduino-style setup() function, change the one init line to be petal = DAISY.init(CLEVELAND_HOTHOUSE, AUDIO_SR_48K);. Then, compile and run!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant