So I am using the BETA 1.5.4 on both my laptop (win 7 64bit) and desktop (win xp home 32bit) no issues at all with the desk top. ( have ran many sketch's successfully.) However not the same on my laptop. I have not been able to get a single compile to go through successfully. Is it potentially a bug with the BETA, or perhaps a issue on my end.
So for the code and so forth. I have been copying the examples to get better with writing the code so if it looks like the examples its because that is how I am doing it. In this instance I was trying to run the servo sweep.
// Sweep
// By BARRAGAN <http://barraganstudios.com>
// This example code is in the pblic domain.
#include <Servo.h>
Servo myservo; // create servo object to control a servo
//a maximum of eight servo objects can be created
int pos = 0; // variable to store the servo posistion
void setup()
{
myservo.attach(9); // attachs the servo on pin 9 to the servo object
}
void loop()
{
for(pos = 0; pos < 180; pos += 1) // goes from 0 degrees to 180 degrees
{ // in steps of 1 degree
myservo.write(pos); // tell servo to go to posistion in variable 'pos'
delay(15); // waits 15ms for the servo to reach the posistion
}
for(pos = 180; pos>=1; pos-=1) // goes from 180 degrees to 0 degrees
{
myservo.write(pos); // tells servo to go to position in variable 'pos'
delay(15);
}
}
And this is what I got for the error.
Arduino: 1.5.4 (Windows 7), Board: "Arduino Mega 2560 or Mega ADK"
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=154 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega -IC:\Program Files (x86)\Arduino\libraries\Servo\src -IC:\Program Files (x86)\Arduino\libraries\Servo\arch\avr C:\Users\SOLARE~1\AppData\Local\Temp\build4553161879459642896.tmp\sketch_oct24a.cpp -o C:\Users\SOLARE~1\AppData\Local\Temp\build4553161879459642896.tmp\sketch_oct24a.cpp.o
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=154 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega -IC:\Program Files (x86)\Arduino\libraries\Servo\src -IC:\Program Files (x86)\Arduino\libraries\Servo\arch\avr C:\Program Files (x86)\Arduino\libraries\Servo\arch\avr\Servo.cpp -o C:\Users\SOLARE~1\AppData\Local\Temp\build4553161879459642896.tmp\avr\Servo.cpp.o
Truncated to save space
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=154 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\Stream.cpp -o C:\Users\SOLARE~1\AppData\Local\Temp\build4553161879459642896.tmp\Stream.cpp.o
Any help would be appreciated, I would like to be able to check and compile from my laptop at times.
Thanks