When working, I can use the first solution to upload it to an Arduino. This way I can fully compile an Arduino project, and most important, run it so I can check the business logic and some parts of the hardware logic on a normal PC having a decent debugger etc. I'm using MS Visual Studio, comparable to VS Code and written stubs or even emulations for certain Arduino classes (like Arduino, but also for other libraries I use on the Arduino, which mimic or at least print something when called). ino file often, as you need to synchronize it manually. The Arduino IDE doesn't see files being saved as new, so that's why you need not to change the. Than you edit your files in VS Code as asual, but you compile/upload the file with the default Arduino IDE. The idea is that you do not need to change the. ino file is as small as possible, typically, just enough to call a second file (.cpp or. Besides, it's too long to write as a comment. This might not be the answer you are looking for, but maybe it helps you and others.
0 Comments
Leave a Reply. |