Skip to content

disconnect callbacks #21

@joacableman

Description

@joacableman

if i understand everything right, it should be possible to disconnect callbacks with:

include <MIDI.h>

MIDI.disconnectCallbackFromType(NoteOn);
and
MIDI.disconnectCallbackFromType(ControlChange);

but i got the compiler error:
Arduino: 1.5.6-r2 (Mac OS X), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

Build options changed, rebuilding all

miro_Hal.ino: In function 'void setup()':
miro_Hal:126: error: 'ControlChange' was not declared in this scope

i also tried to include

#include <midi_Defs.h>
#include <midi_Namespace.h>
#include <midi_Settings.h>

but got the same results....

Thanks,
Joa

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions