So what we have here is a simple Servo test app referencing the external servo library...
#include <C:\Program Files\arduino-0023\libraries\Servo\Servo.h>
Servo myServo;
int servoPin = 9;
void setup()
{
pinMode(servoPin,OUTPUT);
myServo.attach(servoPin);
}
void loop()
{
Serial.println("GO");
for (int i=0; i<=180; i=i+5)
{
myServo.write(i);
Serial.println(i);
delay(100);
}
}
When compiling I get the following....
Compiling 'ServoTest' for 'Arduino Uno'
ServoTest.cpp.o : In function `__static_initialization_and_destruction_0'
ServoTest.cpp : Servo()'
ServoTest.cpp.o : In function `loop'
ServoTest.cpp : write(int)'
ServoTest.cpp.o : In function `setup'
ServoTest.cpp : attach(int)'
: No such file
: No such file
Couldn't determine program size: C:\Program Files\arduino-0023\hardware\tools\avr\bin\avr-size: x': No such file
(0.6484375 secs)
Uploading to I/O board using 'COM6'
avrdude: Version 5.4-arduino, compiled on Oct 11 2007 at 19:12:32
Copyright (c) 2000-2005 Brian Dean,
http://www.bdmicro.com/ System wide configuration file is "C:\Program Files\arduino-0023\hardware\tools\avr\etc\avrdude.conf"
Using Port : \\.\COM6
Using Programmer : stk500v1
Overriding Baud Rate : 115200
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Recv:
avrdude: Recv:
AVR Part : ATMEGA328P
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 5 4 0 no 1024 4 0 3600 3600 0xff 0xff
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
... Out of space to paste but "avrdude done. Thank you."