Advertisement
Guest User

Untitled

a guest
Oct 19th, 2017
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 KB | None | 0 0
  1. (library file) MySensor/MyMQTT.cpp:107:1: error: no matching constructor for initialization of 'MySensor'
  2.  
  3. MySensor(_cepin, _cspin) {
  4. ^ ~~~~~~~~~~~~~~
  5. (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
  6. MySensor(MyTransport &radio =*new MyTransportNRF24(), MyHw &hw=*new MyHwDriver()
  7. ^
  8. (library file) MySensor/MySensorCB.h:149:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
  9. class MySensor
  10. ^
  11.  
  12. (library file) MySensor/MyMQTT.cpp:137:2: error: use of undeclared identifier 'setupRepeaterMode'
  13.  
  14. setupRepeaterMode();
  15. ^
  16.  
  17. (library file) MySensor/MyMQTT.cpp:144:2: error: use of undeclared identifier 'setupRadio'
  18.  
  19. setupRadio(paLevel, channel, dataRate);
  20. ^
  21.  
  22. (library file) MySensor/MyMQTT.cpp:145:8: error: call to non-static member function without an object argument
  23.  
  24. RF24::openReadingPipe(WRITE_PIPE, BASE_RADIO_ID);
  25. ~~~~~~^~~~~~~~~~~~~~~
  26.  
  27. (library file) MySensor/MyMQTT.cpp:145:36: error: use of undeclared identifier 'BASE_RADIO_ID'
  28.  
  29. RF24::openReadingPipe(WRITE_PIPE, BASE_RADIO_ID);
  30. ^
  31.  
  32. (library file) MySensor/MyMQTT.cpp:146:8: error: call to non-static member function without an object argument
  33.  
  34. RF24::openReadingPipe(CURRENT_NODE_PIPE, BASE_RADIO_ID);
  35. ~~~~~~^~~~~~~~~~~~~~~
  36.  
  37. (library file) MySensor/MyMQTT.cpp:146:43: error: use of undeclared identifier 'BASE_RADIO_ID'
  38.  
  39. RF24::openReadingPipe(CURRENT_NODE_PIPE, BASE_RADIO_ID);
  40. ^
  41.  
  42. (library file) MySensor/MyMQTT.cpp:147:8: error: call to non-static member function without an object argument
  43.  
  44. RF24::startListening();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement