I have created an example for you that correctly separates the library code and the examples used for local build.
Take a look at the settings in platformio.ini and compare them with your library.
I have created an example for you that correctly separates the library code and the examples used for local build.
Take a look at the settings in platformio.ini and compare them with your library.