Adafruit seesaw sensor: No matching constructor for initialization


I’m working on a project with a Adafruit Stemma soil sensor.
I took the Adafruit seesaw-library and chanched some parts to compile it with Mbed os 6.

Has anyone experience with this error message?

basics. When you use ‘int i;’, what is the type and what is the variable/instance name? How do you acces the variable? Just do the same with a class and the instance.

And check the Adafruit header file for usage of your class. There is no default constructor, looks like you have to supply arguments.
Usually Adafruit has a lot of example code.