Hi there, I'm afraid its another silly newbie problem I'm looking for some help with please. I received my new Arduino Duemilanove ATmega 328 p & followed the setup as per instruction on this site after downloading the Windows software ( Arduino 0022, I'm running it on XP Professional Sp3 ). Drivers installed no problem. It automatically set up the serial USB onto port 11, so as in instructions I changed this to a lower port (port 1).
After selecting the correct board & port in tools tab of the software then loading "Blink" from File, sketchbook, basics - my problem is this...
If I try & upload to the board or if I run the sketch, some error messages appear.
The board has a blue power led on and a yellow "L" led constantly flickering as soon as usb is connected - this does not change whilst attempting to upload ie no Rx/Tx led's.
The error shown is cut & pasted as follows:-
Blink.cpp:8:22: error: WProgram.h: No such file or directory Blink.cpp: In function 'void setup()': Blink:10: error: 'OUTPUT' was not declared in this scope Blink:10: error: 'pinMode' was not declared in this scope Blink.cpp: In function 'void loop()': Blink:14: error: 'HIGH' was not declared in this scope Blink:14: error: 'digitalWrite' was not declared in this scope Blink:15: error: 'delay' was not declared in this scope Blink:16: error: 'LOW' was not declared in this scope
Also tried this on my laptop (XP Sp3) with same results.
Any help here would be greatly appreciated.
Kind regards, Matthew