I'm using Eclipse with Arduino plugin and I've problem with Wire.OnReceive function:
This is my code:
my function _on_wire_message_recevied
is definited in header and in file .cpp
void AuroraLibrary::_on_wire_message_recevied(int howMany)
But when i compile i've got this error:
ISO C++ forbids taking the address of an unqualified or parenthesized non-static member function to form a pointer to member function. Say '&AuroraLibrary::_on_wire_message_recevied' AuroraLibrary.cpp /AuroraFirmware/lib/AuroraLibrary line 106 C/C++ Problem
I also try to put this but i've same problem...