Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (library file) MySensor/MyMQTT.cpp:107:1: error: no matching constructor for initialization of 'MySensor'
- MySensor(_cepin, _cspin) {
- ^ ~~~~~~~~~~~~~~
- (library file) MySensor/MySensorCB.h:158:2: note: candidate constructor not viable: no known conversion from 'uint8_t' (aka 'unsigned char') to 'MyTransport &' for 1st argument
- MySensor(MyTransport &radio =*new MyTransportNRF24(), MyHw &hw=*new MyHwDriver()
- ^
- (library file) MySensor/MySensorCB.h:149:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
- class MySensor
- ^
- (library file) MySensor/MyMQTT.cpp:137:2: error: use of undeclared identifier 'setupRepeaterMode'
- setupRepeaterMode();
- ^
- (library file) MySensor/MyMQTT.cpp:144:2: error: use of undeclared identifier 'setupRadio'
- setupRadio(paLevel, channel, dataRate);
- ^
- (library file) MySensor/MyMQTT.cpp:145:8: error: call to non-static member function without an object argument
- RF24::openReadingPipe(WRITE_PIPE, BASE_RADIO_ID);
- ~~~~~~^~~~~~~~~~~~~~~
- (library file) MySensor/MyMQTT.cpp:145:36: error: use of undeclared identifier 'BASE_RADIO_ID'
- RF24::openReadingPipe(WRITE_PIPE, BASE_RADIO_ID);
- ^
- (library file) MySensor/MyMQTT.cpp:146:8: error: call to non-static member function without an object argument
- RF24::openReadingPipe(CURRENT_NODE_PIPE, BASE_RADIO_ID);
- ~~~~~~^~~~~~~~~~~~~~~
- (library file) MySensor/MyMQTT.cpp:146:43: error: use of undeclared identifier 'BASE_RADIO_ID'
- RF24::openReadingPipe(CURRENT_NODE_PIPE, BASE_RADIO_ID);
- ^
- (library file) MySensor/MyMQTT.cpp:147:8: error: call to non-static member function without an object argument
- RF24::startListening();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement