electro-smith / DaisyExamples

Examples for the Daisy Platform
https://github.com/electro-smith/DaisyWiki/wiki
MIT License
372 stars 193 forks source link

fix Midi example #205

Closed hellgk closed 2 years ago

hellgk commented 3 years ago

pod/Midi.cpp :

stephenhensley commented 3 years ago

@hellgk thanks for the PR.

I think your DaisyExamples submodules are out of date.

As of the latest versions of libdaisy, the Daisy Pod has a MidiUartHandler object, and the Initialization was added to the DaisyPod::Init().

You can update your submodules by running git submodule update --init from the DaisyExamples repo.

Once you do that you'll want to rebuild the libraries. You can do this by running the build_all task in the example's VS code project or by running ./ci/build_libs.sh from the DaisyExamples root folder.

stephenhensley commented 2 years ago

Closing since the MIDI API has changed since this was originally opened.

We will be making a series of simpler hardware-based examples for the daisy seed that better illustrates the input/output configuration a bit better than with the built-in DaisyPod class member, etc.