Quote:
Originally Posted by skybolt
tVago:
Are you using the standard Arduino UI to compile? If so, what's your standard process for adding a new sketch? I've just downloaded 20170116_194. Since it's a cpp file, I can either rename it .ino, or make a blank .ino and add the new code as main.cpp (or other name).
|
I use my text editor, TextPad, to edit the code itself. It does a very good job of formatting the code for ease of understanding.
When I want to compile the code, I just open up an Arduino IDE session, select the board, serial port, and programmer (if needed), paste the code into the IDE editor window, then upload the code into my test / production platform. The IDE does not do much of anything beyond that for me.
Quote:
Originally Posted by skybolt
Never mind, these steps seem to work:
1. Name file simple name like main.cpp
2. Save blank .ino as project from Arduino UI
3. Copy main.cpp to project folder.
4. Compile and enjoy! Any issues with compiling are flags, environment, etc. In other words, not implementation errors.
|
Yah, something like that.