I want to add multiple ino files like the Arduino ide, but when I do this, it does not compile and gives an error.
With no compiler errors and source files given it’s hard to determine what’s wrong.
In any case you’ll fare much better if you use the
.h format rather than the intermediate
.ino format. See https://docs.platformio.org/en/latest/faq/ino-to-cpp.html for details.