Grove I2C motor driver TB6612FNG library compiling error

Hello,

I tried to verify/compile the dc_motor exemple on Arduino IDE but it failed. I receive an error message with: “error: ‘BUFFER_LENGTH’ was not declared in this scope” (inI2Cdev.cpp).

Can you help me? If needed I can display the full message.
PS: I’m using an Arduino Nano 33 IoT.

Thanks,

Hanta

I switched the card type to Arduino Uno (in IDE) and the compiling went fine. So the problem is due to the Arduino nano 33 IoT type. I don’t know what can I do now :confused:

@Hanta
Thanks for your feedback, I just submitted a patch, now there is no such error, please update the software library.I’m sorry for the trouble.

Thank you Baozhu, I can now continue my project!