Mariamole an improved Editor for arduino

@DrJohn Smith

rob

off topic may be.
but for my info, why would you not move some code up ?
i understod the newer version fixed bugs in the old .

ta

Several reasons no to upgrade I used in the past.

  • upgrading might introduce new issues as behaviour changed in some libraries e.g. Hardware serial flush(), timing of loop()
  • upgrading costs me more time than maintaining
  • the size of some libraries have grown, this might be critical for some big sketches - don't know for sure, not eager to find out :wink:
  • Current version of the sketches are stable and have no known issues (aka bugs) any more so why upgrade?
  • The timing e.g. of millis() / delay() differs and all critical tuning in the sketches needs to be adjusted again.

to show the last one.

void setup() 
{
  Serial.begin(115200);
}

void loop() 
{
  Serial.println(millis());
  delay(1000);
}

IDE 1.0.3 output

0
999
1999
3000
4000
5000
6000
7001
8001
9001
10002
11001
12002
13002
14003
15003
16004
17004
18003
19004
20004

delta of 4 millis in 20 seconds

IDE 0.22 output

0
999
1999
3001
4001
5002
6002
7003
8004
9005
10005
11005
12007
13007
14008
15009
16010
17011
18012
19012
20014

delta of 14 millis in 20 seconds ( ... 500473 ...600571 ==> almost 1/1000 )

printing 5or 6 digits + CRLF over serial costs between 0.8-1.0 millisecond@115200, so the 0.22 timing is not that bad in timing I guess..
or is the 1.0.3. a bit too fast?

And yes, it is a per sketch choice to upgrade and which platform to choose. And FWIW my latest sketches are almost all based upon 1.0.3
(I should try the 1.0.4 soon)