Hi,
Where is IDE 2.0 beta BareMinimum file when intalled by Window 10?
Where are the files on disk?
Regards,
JPD
Hi,
Where is IDE 2.0 beta BareMinimum file when intalled by Window 10?
Where are the files on disk?
Regards,
JPD
I have IDE 2.0 in a folder on my desktop and the path is
C:\Users\Bob2\Desktop\arduino-ide_2.0.0-beta.7_Windows_64bit\resources\app\node_modules\arduino-ide-extension\Examples\01.Basics\BareMinimum\BareMinimum.ino
C:/Users/me/AppData/Local/Programs/arduino-ide/resources/BareMinimum
That's an unexpected location. The C:/Users/me/AppData/Local/Programs/arduino-ide
part is normal and expected for the installer version of the Arduino IDE 2.x, but after that the path should be the same as the path UKHeliBob shared.
My installer version has it here:
C:\Users\per\AppData\Local\Programs\arduino-ide\resources\app\node_modules\arduino-ide-extension\Examples\01.Basics\BareMinimum
A related problem is if you change the file , the IDE open the default Bare-minimum file anyway.....
Yeah, unlike the classic Arduino IDE, which uses the "BareMinimum" sketch, Arduino IDE 2.x's File > New sketch is currently hardcoded:
That's a shame and I hope that it will be changed to allow customisation of the File/New sketch
I currently have my own version of BareMinimum with a blank line at the top ready to insert #includes and variable declarations, Serial.begin(115200) inserted along with while (!Serial) and a Serial.println() in setup() all ready to print something if required
I added Serial.begin(115200);
and the IDE resuse to start on windows 10
Where exactly did you add it to ?
C:\Users\My\AppData\Local\Programs\arduino-ide\resources\app\node_modules\arduino-ide-extension\lib\node
case 7:
_a.sent();
return [4 /*yield*/, util_1.promisify(fs.writeFile)(sketchFile, "void setup() {\n Serial.begin(115200);n\n}\n\nvoid loop() {\n // put your main code here, to run repeatedly:\n\n}\n", { encoding: 'utf8' })];
Jpd
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.
The request to make the File > New sketch easily customizable is being tracked by the IDE developers here:
(thanks dougp!)