Grove D7S Vibration Sensor with other computers

I have no problem getting the demo version working with Xiao D21 but can not get it to work with other computers such as a standard RP2040 Pico or ESP32. The RP2040 is connected to a Grove carrier for Pico. There are two I2C ports - do these need to be addressed separately?
The ESP32 is in a M5Stack ATOMS3 package with portABC extender.
My coding is C++ on Arduino IDE V2. The library is the standard Grove D7S library using “#include <D7S.h>”. No other libraries are included.
WHy is the standrd code not working on these other computers?