Hi all,
I wasnt sure where to put this.
Is there some way to have new sketches open with:
void setup(){}
void loop(){}
already in the sketch to start with?
I can type them every time, but I think it could be neat if I could have them there to begin with.
Is that already a feature? How can i get this done?
conradin:
Hi all,
I wasnt sure where to put this.
Is there some way to have new sketches open with:
void setup(){}
void loop(){}
already in the sketch to start with?
I can type them every time, but I think it could be neat if I could have them there to begin with.
Is that already a feature? How can i get this done?
"plus the cursor mouse automatically places inside the setup function "
See, I'd find that in the wrong place - I start my sketches with some comments, then define pins, before even getting to void setup ( ) { ...
25 characters - what's that, like 10 seconds of typing?
Doesn't the bare minimum example have that already too?
CrossRoads:
"plus the cursor mouse automatically places inside the setup function "
See, I'd find that in the wrong place - I start my sketches with some comments, then define pins, before even getting to void setup ( ) { ...
25 characters - what's that, like 10 seconds of typing?
Doesn't the bare minimum example have that already too?
It does not matter, it finds the last line in the setup that is available to write code with a regex (line 585) it is not a hardcoded position.
I use some of the otherwise unused buttons (just pause and scroll lock now) to do random things --- pause used to change my desktop background, now it sleeps my computer; scroll lock inverts colors). On a normal desktop keyboard there's more (like the three buttons just right of the space bar). You could also remap some of the F_ keys.