Hi all, intuitively it seems to make sense to split different parts of code to different files, so it is easier to navigate and read.
For example to have separate files for servos, controllers and web which are included in the main code, and only variables are passed through.
And if this is a good practice, how do you deal with separation of setup and loop parts? I have not found reaources on this, so thinking to ask the community.
Just dropping a quick vote for Platformio here. It’s a bit of a learning curve but they know how to organise code over there. Also VSCode will super power your coding experience. I used Arduino IDE for many years but almost completely switched now.
Still using Arduino though! #include Arduino.h