I am suspecting the IDE can not recognize where is located the Arduino folder.
I have also copied the Wire.h and SPI.h in the same folder of my sketch, but still not working.
In my computer, the Arduino folder is located under c:\program files (c:\programmi in italian).
my sketch worked fine with the V1.5.2
I have installed the V1.5.3 and now I am not more able to use this sketch.
What a hell is happening ?!!
Please remark, I am a real beginner, then any help is welcomed.
Don't worry about previous folder names. Just download the IDE 1.5.3, unzip it and create a shortcut in your desktop of the Arduino.exe file ( inside ...\arduino-1.5.3-windows\arduino-1.5.3 ).
Fresh installation done.
Still the problem remains.
This is the list of errors:
LabDCC:12: error: variable or field 'startTimer' declared void
LabDCC:12: error: 'Tc' was not declared in this scope
LabDCC:12: error: 'tc' was not declared in this scope
LabDCC:12: error: expected primary-expression before 'unsigned'
LabDCC:12: error: 'IRQn_Type' was not declared in this scope
LabDCC:12: error: expected primary-expression before 'unsigned'
LabDCC:54: error: variable or field 'startTimer' declared void
LabDCC:54: error: 'Tc' was not declared in this scope
LabDCC:54: error: 'tc' was not declared in this scope
LabDCC:54: error: expected primary-expression before 'unsigned'
LabDCC:54: error: 'IRQn_Type' was not declared in this scope
LabDCC:54: error: expected primary-expression before 'unsigned'
LabDCC.ino: In function 'void Pulse(long unsigned int)':
LabDCC:73: error: 'TC1' was not declared in this scope
LabDCC:73: error: 'TC3_IRQn' was not declared in this scope
LabDCC:73: error: 'startTimer' was not declared in this scope
LabDCC.ino: In function 'void setup()':
LabDCC:236: error: 'TC1' was not declared in this scope
LabDCC:236: error: 'TC3_IRQn' was not declared in this scope
LabDCC:236: error: 'startTimer' was not declared in this scope