We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attempting to use the Lidar V3HP with the RP2040. It does not compile for multiple boards, with the following errors:
c:\Users\vavourak\Documents\Arduino\libraries\LIDAR-Lite\src\LIDARLite_v3HP.cpp: In member function 'void LIDARLite_v3HP::read(uint8_t, uint8_t*, uint8_t, uint8_t)': c:\Users\vavourak\Documents\Arduino\libraries\LIDAR-Lite\src\LIDARLite_v3HP.cpp:455:5: error: no matching function for call to 'TwoWire::requestFrom(uint8_t&, uint8_t&, uint8_t&, int, bool)' 455 | ); | ^ In file included from c:\Users\vavourak\Documents\Arduino\libraries\LIDAR-Lite\src\LIDARLite_v3HP.cpp:27: C:\Users\vavourak\AppData\Local\Arduino15\packages\rp2040\hardware\rp2040\2.7.1\libraries\Wire\src/Wire.h:58:12: note: candidate: 'virtual size_t TwoWire::requestFrom(uint8_t, size_t, bool)' 58 | size_t requestFrom(uint8_t address, size_t quantity, bool stopBit) override; | ^~~~~~~~~~~ C:\Users\vavourak\AppData\Local\Arduino15\packages\rp2040\hardware\rp2040\2.7.1\libraries\Wire\src/Wire.h:58:12: note: candidate expects 3 arguments, 5 provided C:\Users\vavourak\AppData\Local\Arduino15\packages\rp2040\hardware\rp2040\2.7.1\libraries\Wire\src/Wire.h:59:12: note: candidate: 'virtual size_t TwoWire::requestFrom(uint8_t, size_t)' 59 | size_t requestFrom(uint8_t address, size_t quantity) override; | ^~~~~~~~~~~ C:\Users\vavourak\AppData\Local\Arduino15\packages\rp2040\hardware\rp2040\2.7.1\libraries\Wire\src/Wire.h:59:12: note: candidate expects 2 arguments, 5 provided c:\Users\vavourak\Documents\Arduino\libraries\LIDAR-Lite\src\LIDARLite_v4LED.cpp: In member function 'void LIDARLite_v4LED::read(uint8_t, uint8_t*, uint8_t, uint8_t)': c:\Users\vavourak\Documents\Arduino\libraries\LIDAR-Lite\src\LIDARLite_v4LED.cpp:426:5: error: no matching function for call to 'TwoWire::requestFrom(uint8_t&, uint8_t&, uint8_t&, int, bool)' 426 | ); | ^ In file included from c:\Users\vavourak\Documents\Arduino\libraries\LIDAR-Lite\src\LIDARLite_v4LED.cpp:27: C:\Users\vavourak\AppData\Local\Arduino15\packages\rp2040\hardware\rp2040\2.7.1\libraries\Wire\src/Wire.h:58:12: note: candidate: 'virtual size_t TwoWire::requestFrom(uint8_t, size_t, bool)' 58 | size_t requestFrom(uint8_t address, size_t quantity, bool stopBit) override; | ^~~~~~~~~~~ C:\Users\vavourak\AppData\Local\Arduino15\packages\rp2040\hardware\rp2040\2.7.1\libraries\Wire\src/Wire.h:58:12: note: candidate expects 3 arguments, 5 provided C:\Users\vavourak\AppData\Local\Arduino15\packages\rp2040\hardware\rp2040\2.7.1\libraries\Wire\src/Wire.h:59:12: note: candidate: 'virtual size_t TwoWire::requestFrom(uint8_t, size_t)' 59 | size_t requestFrom(uint8_t address, size_t quantity) override; | ^~~~~~~~~~~ C:\Users\vavourak\AppData\Local\Arduino15\packages\rp2040\hardware\rp2040\2.7.1\libraries\Wire\src/Wire.h:59:12: note: candidate expects 2 arguments, 5 provided exit status 1 Compilation error: exit status 1
Is there anyway to fix this? Thanks!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Attempting to use the Lidar V3HP with the RP2040. It does not compile for multiple boards, with the following errors:
Is there anyway to fix this? Thanks!
The text was updated successfully, but these errors were encountered: