Closed ghost closed 6 years ago
Just create two new files (CTRL+SHIFT+N in the IDE): DigitalCC.h
and DigitalCC.cpp
. Then just paste the code from the wiki into the respective files.
Finally, include the new file by using #include "DigitalCC.h"
into your main sketch. In this sketch, you can then instantiate DigitalCC objects.
Mamy thanks. And is the switch with this instruction?
*is the switch latched
No, it's a normal momentary pushbutton.
Thank you so much
Hi, I cannot manage to install the DigitalCC class in order to use the switches as MIDI_CC controls. Is there a release of the MIDI_CONTROLLER library with this class already implemented? Or is there a tutorial that can explain me how to do this? Many thanks.