Code: Select all
'class TwoWire' has no member named 'slaveWrite'
Code: Select all
sketch/Olimex_Module.ino.cpp.o:(.literal._Z5setupv+0x1c): undefined reference to `TwoWire::onReceive(void (*)(int))'
sketch/Olimex_Module.ino.cpp.o:(.literal._Z5setupv+0x20): undefined reference to `TwoWire::onRequest(void (*)())'
sketch/Olimex_Module.ino.cpp.o: In function `setup()':
<my sketch path>/Olimex_Module/Olimex_Module.ino:38: undefined reference to `TwoWire::onReceive(void (*)(int))'
<my sketch path>/Olimex_Module/Olimex_Module.ino:38: undefined reference to `TwoWire::onRequest(void (*)())'
collect2: error: ld returned 1 exit status
exit status 1
Error compiling for board OLIMEX ESP32-PoE.
Any help would be greatly appreciated.