Skip to content

Error compiling when using Arduino's tone() after including MeOrion.h #71

@mrrenwick

Description

@mrrenwick

When attempting to use the Arduino tone() function with "MeOrion.h" included, there is a compiler error.


#include "MeOrion.h"

void setup() {
}

void loop() {
  tone(1, 250, 1000);
}

The output error code is:

Tone.cpp.o (symbol from plugin): In function timer0_pin_port': (.text+0x0): multiple definition of __vector_7'
libraries/Makeblock-Libraries-master/MeIR.cpp.o (symbol from plugin):(.text+0x0): first defined here
collect2: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino Uno.

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