IDE 1.8.0 Released -- update: 1.8.10

I'm glad to hear it's working for you now. Thanks for sharing your findings. I'm sure anyone else having this problem will be very grateful. Enjoy! Per

Hi, i have this problem;

In file included from C:\Users\Admin\Documents\Arduino\sketch_nov11a\sketch_nov11a.ino:4:0:

C:\Users\Admin\Documents\Arduino\libraries\MCUFRIEND_kbv/MCUFRIEND_kbv.h:16:26: fatal error: Adafruit_GFX.h: No such file or directory

compilation terminated.

exit status 1 Erro ao compilar para a placa Arduino/Genuino Uno.

Any 1 know who to fix? Thanks.

Hi LuisSousa, welcome.

Yes, you fix it yourself.

Seems like you didn't install all required libraries. I don't know whether Adafruit_GFX.h is included in the MCUFRIEND_kbv library or not, so you should check that. If it is not, install that library by using the library manager. I have it installed for some time already, so i can't tell you whether it came as part of something else or not. Also check to see you need other libraries as well for this sketch of yours.

By the way, this thread wasn't meant for questions like this. Please be sure you put you questions in the correct location. That way, chances are a lot better you will be promptly helped with some suiting suggestions.

Hi! I wrote a C++ class on debian stretch on a raspberry that communicates with an Adafruit ItsyBitsy M4 or a Feather Express M4 using libusb. Well - native USB is a little bit more tricky and I would not molest anyone when I would be unsure that there is something really strange going on: - When compiling my code for the Feather with Arduino IDE 1.8.5, all works fine. The Raspi sends something, and the Feather responds accordingly, and all is fine. - That works also when I use the terminal of the Arduino IDE. I send something, and the feather reacts. I use "Serial.write()" to send data via USB and "Serial.read()" on the Feather.

When uploading the code from Arduino IDE 1.8.7 - all works fine with the IDE terminal - when connecting with the Raspberry and my C++ program, I can send data which are recognized by the Feather (at least I think so - i fire up the red LED on pin 13 for certain characters, and turn it off with others) but - i cannot send anything ... both with the ItsyBitsy M4 and the Feather Express M4!!!

I have not tried it yet with another native USB board such as the Teensy, but this is really strange - does someone have an idea??? yours wolfi PS: cross posted this also in the Adafruit forum

ARDUINO 1.8.8 2018.12.07

[ide]
* Fixed: command line parsing of version parameters when installing cores/libraries
* Platform indexes are now downloaded using https
* Fixed: on some newer linux distrubitions, NPE when loading GTK look-and-feel without libgtk2 installed
* MacOSX: added touch bar support
* MacOSX: do not exit app after closing last window
* Fixed: serial monitor timestamps not always printed. Thanks @nitram509
* Kill active programmer if still alive after closing last IDE window
* Fixed: "Export compiled binary" now works also with unsaved sketches
* Improved automatic port re-selection after upload
* Added scroller to "INCOMPATIBLE" examples menu

[wifi-firmware]
* Added firmware upgrade for NINA-based boards

The newly released 1.8.8 IDE does not seem to pay attention to the “export.application.fullscreen=true” setting. Reverting back to the 1.8.7 IDE (using the same preferences.txt file) restores functionality remembering fullscreen upon startup.

There's something weird going on with 1.8.8 preferences. As previous poster stated the fullscreen is wonky but so is the opening of the last sketch used. It now opens with a empty sketch where in 1.8.7 it opened the last used. Reverting back to 1.8.7.

  • MacOSX: added touch bar support

1.8.8 seems to be broken for me. OS 10.9.5/MacbookPro 13.3" from 2012 (i.e. no touch bar)

Symptoms : IDE starts up, loads boards etc, opens window to default sketch and immediately quit.

Looks like added touch bar support broke IDE for older Macs without touch bar; (reverting to 1.8.7 resolved the problem)

Debug shows :

dyld: Registered code signature for /private/var/folders/x_/n1mc8xx08v51kc006s6fgwqh0000gp/T/libJTouchBar.dylib4651976256396159074 2018-12-11 11:55:18.880 Arduino[1676:507] -[NSApplicationAWT setAutomaticCustomizeTouchBarMenuItemEnabled:]: unrecognized selector sent to instance 0x7fcfa8d04900 2018-12-11 11:55:18.882 Arduino[1676:507] Apple AWT Internal Exception: -[NSApplicationAWT setAutomaticCustomizeTouchBarMenuItemEnabled:]: unrecognized selector sent to instance 0x7fcfa8d04900 2018-12-11 11:55:18.882 Arduino[1676:507] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSApplicationAWT setAutomaticCustomizeTouchBarMenuItemEnabled:]: unrecognized selector sent to instance 0x7fcfa8d04900'

PAULC5:

  • MacOSX: added touch bar support

1.8.8 seems to be broken for me. OS 10.9.5/MacbookPro 13.3" from 2012 (i.e. no touch bar)

Symptoms : IDE starts up, loads boards etc, opens window to default sketch and immediately quit.

Looks like added touch bar support broke IDE for older Macs without touch bar; (reverting to 1.8.7 resolved the problem)

I think you diagnosed the problem correctly. The Arduino developers have already been notified of this bug and have made a fix: https://github.com/arduino/Arduino/issues/8274 If you want to try it out, you can install the Arduino IDE hourly build: https://www.arduino.cc/en/Main/Software#hourly The hourly build is primarily intended for beta testing and may not be as stable as the production releases. However, the fix of this bug is only one of two significant changes made to the IDE's code since the 1.8.8 release so I think it should be just as good as 1.8.8, except without the touch bar bug.

pert: I think you diagnosed the problem correctly. The Arduino developers have already been notified of this bug and have made a fix: https://github.com/arduino/Arduino/issues/8274

Excellent, thanks !

It seems that the Wifi firmware updater isn't working properly on IDE 1.8.8. I was attempting to update my new WINC 1500 and the only firmware offered is the Model A (19.4.4) not the current version of Model B (19.5.4). I ran IDE 1.8.7 on my older MacBook and it offered versions from 19.4.4 up to the required version of 19.5.4.

I downloaded the nightly build and it also does not offer the correct firmware versions.

I was able to update the firmware correctly with the 1.8.7 version, just wanted to let everyone know of this issue.

Thanks, Carroll

IDE

Fixed: command line parsing of version parameters when installing cores/libraries Platform indexes are now downloaded using https Fixed: on some newer linux distrubitions, NPE when loading GTK look-and-feel without libgtk2 installed MacOSX: added touch bar support MacOSX: do not exit app after closing last window Fixed: serial monitor timestamps not always printed. Thanks @nitram509 Kill active programmer if still alive after closing last IDE window Fixed: "Export compiled binary" now works also with unsaved sketches Improved automatic port re-selection after upload Added scroller to "INCOMPATIBLE" examples menu

Wifi Firmware Added firmware upgrade for NINA-based boards

DaveAhrendt: There's something weird going on with 1.8.8 preferences. As previous poster stated the fullscreen is wonky but so is the opening of the last sketch used. It now opens with a empty sketch where in 1.8.7 it opened the last used. Reverting back to 1.8.7.

Thanks for reporting this. There is now a proposed fix: https://github.com/arduino/Arduino/pull/8349 Test builds are available at the link above if you want to try it out.

Hey team arduino I have a problem in uploading code to my arduino uno r3 and I am doing this in Windows 7 and I also checked your help box and done exactly given there to update driver installation. I only found unknown sources and tried to update it but my windows in online search send a message that 'Windows is unable to find driver software for your unknown device

Vaibhav2710:
I have a problem in uploading code to my arduino uno r3

Provide a detailed explanation of the problem.

Vaibhav2710:
Plz help me

Don’t do that. It will only make us less likely to help you.

I downloaded the new version but suddenly " while (Serial.available()==0){ } " stopped working so I uninstalled and kept working on the older version if someone can help it would be so thankful

Kshehab91: I downloaded the new version but suddenly " while (Serial.available()==0){ } " stopped working so I uninstalled and kept working on the older version if someone can help it would be so thankful

Which version is the older version?

Kshehab91: I downloaded the new version but suddenly " while (Serial.available()==0){ } " stopped working so I uninstalled and kept working on the older version if someone can help it would be so thankful

We'll resolve this issue here: http://forum.arduino.cc/index.php?topic=591792

I can't add a label as the very last item in the main loop.

This works:

void loop() {
  // put your main code here, to run repeatedly:
label:
delay(1);
}

This doesn't:

void loop() {
  // put your main code here, to run repeatedly:
label:
}

The error message is:

exit status 1 expected primary-expression before '}' token

I wanted to use goto (yeah, I know goto is considered harmful) in order to break out of a deeply nested loop and go to the very end of the sketch, where nothing more should be done.

Another thing: if I enable code folding, fold a function with an error inside it, and compile, the IDE will mark the very top line of the sketch as erroneous (in pink) rather than the actual line with the error. I wish that it would either mark the first line of the function itself, or automatically unfold the function and then mark the correct line. As it is now I have to hunt for the broken function.

A related question: is there a shortcut to fold or unfold all code at the same time?

a label should have some code after it. if you want to leave the loop, just return it:

void loop() {
  if(something) {
  return;
}
somethingElse(); // somethingElse will not be call if something is true

Also, dont know your code, but you should try reverse condition check to avoid deep if nesting using return statement.

void myFunction() {

  if (contiotion1) {
    if (condition2) {
      doSomething();
    }
  }
}

could be:

void myFunction() {

  if (!contiotion1) {
    return;
  }
  if (!condition2) {
    return;
  }
  doSomething();
}

Finally, you should have start another tread in the forum instead...

regards. Nitrof