Skip to content

CC1101 ino file won't compile #9

@sensorhost

Description

@sensorhost

Hi, i would like to try this code however it won't compile.

I have an ATMega1284 on a custom PCB running at 3.3V.
I am using Arduino Mightycore in Arduino IDE version 2.3.7

The error I am getting is

   radio.setGdo0Action(setFlag);

CC1101.h:666:10: note: candidate: void CC1101::setGdo0Action(void (*)(), uint32_t)
     void setGdo0Action(void (*func)(void), uint32_t dir);

CC1101.h:666:10: note:   candidate expects 2 arguments, 1 provided

Any guidance is appreciated.

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