Describe the bug
I added the lib into arduino and I just try to compile this one line and I got compilation error below
#include "Seeed_Arduino_GroveAI.h"
In file included from /private/var/folders/14/bfxws12j2mxb1_94v17zfb8w0000gn/T/.arduinoIDE-unsaved2023723-4399-q13ydo.qelsq/sketch_aug23a/sketch_aug23a.ino:1:
/Users/aa/Documents/Arduino/libraries/Seeed_Arduino_GroveAI-1.1.0/Seeed_Arduino_GroveAI.h:229:53: error: 'PIN_WIRE_SDA' was not declared in this scope; did you mean 'PIN_WIRE0_SDA'?
229 | WEI(TwoWire &wire_com = Wire, uint32_t pinSDA = PIN_WIRE_SDA, uint32_t pinSCL = PIN_WIRE_SCL): _wire_com(&wire_com), _pinSDA(pinSDA), _pinSCL(pinSCL) {}
| ^~~~~~~~~~~~
| PIN_WIRE0_SDA
/Users/aa/Documents/Arduino/libraries/Seeed_Arduino_GroveAI-1.1.0/Seeed_Arduino_GroveAI.h:229:85: error: 'PIN_WIRE_SCL' was not declared in this scope; did you mean 'PIN_WIRE0_SCL'?
229 | WEI(TwoWire &wire_com = Wire, uint32_t pinSDA = PIN_WIRE_SDA, uint32_t pinSCL = PIN_WIRE_SCL): _wire_com(&wire_com), _pinSDA(pinSDA), _pinSCL(pinSCL) {}
| ^~~~~~~~~~~~
| PIN_WIRE0_SCL
exit status 1
To Reproduce
Download this lib from release page with zip
Include this zip lib into arduino
create a new INO file and copy in the code #include "Seeed_Arduino_GroveAI.h"
click upload for compiling.
Expected behavior
it should compile without error
Additional context
I checked the source code for this header, the complain makes sense. There is no PIN_WIRE_SCL or PIN_WIRE_SDA declaration in the code. idk where these variables come from.
I'm following this tutorial https://wiki.seeedstudio.com/Grove-Vision-AI-Module/ and I'm currently using a Seeed Xiao -RP2040 with this Vision AI module. but since it's compiling error, I don't feel it's related to my hardware at the moment.
Describe the bug I added the lib into arduino and I just try to compile this one line and I got compilation error below
To Reproduce
#include "Seeed_Arduino_GroveAI.h"
Expected behavior it should compile without error
Additional context I checked the source code for this header, the complain makes sense. There is no PIN_WIRE_SCL or PIN_WIRE_SDA declaration in the code. idk where these variables come from.
I'm following this tutorial https://wiki.seeedstudio.com/Grove-Vision-AI-Module/ and I'm currently using a Seeed Xiao -RP2040 with this Vision AI module. but since it's compiling error, I don't feel it's related to my hardware at the moment.