Skip to content

issue with the code pls help  #4

Description

@Ismaeldemunck

Hello, after finding your video (very cool work btw) i tryed to redo your project myself as a beginner with arduino. i alredy made everything tath you say in the "tutorial" but when i try to put the code in the arduino i have this error :

C:\Users\Ismael\AppData\Local\Temp\arduino\sketches\79412636F10CB6A881D8EC7CAD50F16F\sketch\MidiPlayer.ino.cpp.o: In function loop': C:\Users\Ismael\Downloads\Midi2Arduino-master\Midi2Arduino-master\arduino\MidiPlayer/MidiPlayer.ino:101: undefined reference to Tone::play(unsigned short, unsigned long)'
C:\Users\Ismael\AppData\Local\Temp\arduino\sketches\79412636F10CB6A881D8EC7CAD50F16F\sketch\MidiPlayer.ino.cpp.o: In function setup': C:\Users\Ismael\Downloads\Midi2Arduino-master\Midi2Arduino-master\arduino\MidiPlayer/MidiPlayer.ino:51: undefined reference to Tone::begin(unsigned char)'
C:\Users\Ismael\Downloads\Midi2Arduino-master\Midi2Arduino-master\arduino\MidiPlayer/MidiPlayer.ino:62: undefined reference to `Tone::play(unsigned short, unsigned long)'
collect2.exe: error: ld returned 1 exit status

exit status 1

Compilation error: exit status 1

i probably did something wrong or idk,
for information i am using an arduino uno r4 wifi idk if its because it is not an mega like recommended.
and sorry if i made mistake in my text im french ^^
i hope that even if its an old project someone will try to help me !

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions