C:\Users\====\Documents\Arduino\libraries\Servo\Servo.cpp: In member function 'uint8_t Servo::attach(int)':C:\Users\====\Documents\Arduino\libraries\Servo\Servo.cpp:28: error: 'digitalWrite' was not declared in this scopeC:\Users\====\Documents\Arduino\libraries\Servo\Servo.cpp:29: error: 'OUTPUT' was not declared in this scopeC:\Users\====\Documents\Arduino\libraries\Servo\Servo.cpp:29: error: 'pinMode' was not declared in this scopeC:\Users\====\Documents\Arduino\libraries\Servo\Servo.cpp: In member function 'void Servo::write(int)':C:\Users\====\Documents\Arduino\libraries\Servo\Servo.cpp:52: error: 'clockCyclesPerMicrosecond' was not declared in this scopeC:\Users\====\Documents\Arduino\libraries\Servo\Servo.cpp: In static member function 'static void Servo::refresh()':C:\Users\====\Documents\Arduino\libraries\Servo\Servo.cpp:74: error: 'millis' was not declared in this scopeC:\Users\====\Documents\Arduino\libraries\Servo\Servo.cpp:107: error: 'digitalWrite' was not declared in this scopeC:\Users\====\Documents\Arduino\libraries\Servo\Servo.cpp:109: error: 'TCNT0' was not declared in this scopeC:\Users\====\Documents\Arduino\libraries\Servo\Servo.cpp:124: error: 'digitalWrite' was not declared in this scope

It has to be something simple and I have found a couple post about # include <wire.h> needing moved from servo.h to servo.cpp. I did that but still the same errors.

The only libraries that show up in my library list are Motor shield, servo and software servo. Shouldn't I have a larger list???

This is a simple project I am working on with my son for an animatronics puppet for school. I have had the example sweep working in the past but now I seem to get the same errors when I load that one too.

Can someone please help as I am certain it is either something I have done or something I am missing.

Thank you and I will do a formal introduction post here in the near future.

Thanks for changing the post. It is so much easier to copy and paste and try your code.I to got this to compile straight off using IDE 1.0.3.It looks like all the files are not in your system. Try and remove it and install it again.Sorry I can't be more specific as I am on a Mac.

Understood about the first post. I was in a hurry because the wife was pushing me to hurry up so we could leave. I am using 1.0.3 and don't see an uninstaller. I went to my program files and deleted as well as my documents where the other files are stored and deleted them as well.

I will reinstall the most current which is 1.0.3.

It is very strange as a different sketch I had worked fine is now not working as well. Hopefully the fresh install will fix the problem. Thanks for the help hopefully between all here I can get running in no time.

Thanks guys I knew it was something stupid. However not being versed in programming I was not thinking. I installed 1.0.4 and flamo my problem went away. It seems that my installation was corrupt. I have no idea as to why but it was.

The next problem after getting my IDE fixed was my kids knocked my breadboard down and didn't tell me they had pulled a wire loose. They put it back or thought they had and it caused an IO pin to get grounded. Lucky enough when I did not have the power up LED upon my software reinstall. I knew something was not right. So I started over and reconnected all my jumper wires.