Skip to content

Can't compile with default MIDI object #23

@Cynosure48

Description

@Cynosure48

I have tried compiling code with the latest version of the MIDI Library with an Arduino UNO. I saw that I am supposed to add 'MIDI_CREATE_DEFAULT_INSTANCE();' below where I include the library.

When I include this line, I get the following error:

expected constructor, destructor, or type conversion before the ';' token

Yet it compiles fine when I leave out the new object.

Any idea why?

Metadata

Metadata

Assignees

No one assigned

    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