Go Down

Topic: IDE 1.6.1 is now available for download (Read 4749 times) previous topic - next topic

pYro_65

#105
Mar 30, 2015, 03:12 am Last Edit: Mar 30, 2015, 03:14 am by pYro_65
in a sketch that uses boolean vars and worked with the previous version. Suggestions, Please!  Thank you!!
As Arduino already defines boolean, you'll need to remove it from the library header. This library should have just included Arduino.h rather than re-implementing its types (which has now changed from uint8_t to bool).

Open up ServoTimer.h

Remove the line: typedef uint8_t boolean;

And change #include <inttypes.h> to #include "Arduino.h".

cappyjack

Thanks very much....BTW this was in ServoTimer2.h and not the normal servo library.

hello
i have a orginal arduino one
i have install the arduino
the arduino runs perfect but
when i op a new sketch
i have a message

void setup() {
  // put your setup code here, to run once:

}

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

}

so i cant get go on whit my sketch

help please !!!!!!

Federico Fissore

That's the BareMinimum sketch: it's the minimum amount of code you have to write for a sketch to be valid. We just put it there for you, so you don't have to rewrite every time
Have you upgraded the Yún? If you've just got it, then it needs to be upgraded! Check out the tutorial at http://is.gd/1jUPNF

federico
is that post for me ?
where you put it for me?
sorry i am new here
thanks

JimboZA

The code you saw and posted, is just a "template" for you to type your new sketch into.

Or, if you're copying and pasting a sketch from somewhere else, just delete the template and paste a whole sketch into the Arduino IDE window.

federico
is that post for me ?
where you put it for me?
for you and for me too , it is just template for new sketch.

----------------------------------------------------------------------

Federico , you do a great work on new IDE and i like the changes ( mostly ) , but why such massive changes from one minor version to another minor version( 1.6.1 , 1.6.2 ). We just barely got used to the new changes and after ~10 days you make some massive changes again.
Massive changes do only when you switch on the major version . from 1.x.x to 2.x.x for example. Let people do some real work on IDE, not just to have to learn how to use it.

Federico Fissore

common_ground we are aware of having made too massive changes with 1.6.2, 1.6.3 (already available as a nightly build) will make things much smoother (I'd say flawless, but you never know...)
Have you upgraded the Yún? If you've just got it, then it needs to be upgraded! Check out the tutorial at http://is.gd/1jUPNF

Arduino: 1.6.1 (Mac OS X), Board:"Arduino Uno"

code.ino:2:1: error: 'tmpvoid' does not name a type
code.ino:1:17: error: expected constructor, destructor, or type conversion before '(' token
Fout bij compileren.

 Dit rapport zou meer informatie hebben met
 "Tijdens de compilatie uitgebreide uitvoer weergeven"
 ingeschakeld in Bestand > Voorkeuren.
 

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy