Go Down

Topic: IDE 1.6.1 is now available for download (Read 4647 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

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