Skip to content

Getting an error resolving around tone? #9

Open
@JoshMendiola

Description

@JoshMendiola

I am not including my code only because I'm simply just trying to run the example sweep function, but everytime I try to compile my code after installing the library (same error every version 12.0-13.0), I get this error

/Users/joshuamendiola/Documents/Arduino/libraries/ESP32Servo/src/ESP32Tone.h:11:41: error: macro "tone" requires 3 arguments, but only 2 given void tone(int pin,unsigned int frequency);

it seems there is an issue with the tone library being used in the ESP32Servo file, but I am unable to pinpoint the problem after a few hours of debugging, what is going on here?

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