Moderator: igrr
Compared to 1.6.5, functions, etc have to be defined in the source before they are used. The "automatic" forward declaration seems to be removed or broken. So you may have to move code within the sketch source to prevent compile errors, or add a forward declaration yourself.
Here's a general Wiki on forward declaration : https://en.wikipedia.org/wiki/Forward_declaration
Apart from that, it works fine for me.
EDIT : Just updated to Board version 2.1.0. Works fine too
The automatic forward declaration is provided by Arduine IDE to make C programming easier.
Indeed this functionality is broken since Arduino IDE 1.6.6 – https://github.com/arduino/arduino-builder/issues/68
The good news is that is already fixed in nightly build of Arduino 1.6.8 - I have just checked it with 2.1.0 version of platform package.
Krzysztof
krzychb wrote:The good news is that is already fixed in nightly build of Arduino 1.6.8 - I have just checked it with 2.1.0 version of platform package.
Krzysztof
Good news, thanks!