itsanjan / arduino

Automatically exported from code.google.com/p/arduino
Other
0 stars 0 forks source link

OUTPUT not delcared - 1.0-rc1 not accessing library files #678

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Does not compile   pinMode(EPin, OUTPUT);   
2.Reports 'OUTPUT' was not declared in this scope
3. Fairly sure the Library files are not being accessed.

What is the expected output? What do you see instead?
Compiles fine in Arduino 0022. 

What version of the Arduino software are you using? On what operating
system?  Which Arduino board are you using?
RC 1.0 Arduino Uno

Please provide any additional information below.

Original issue reported on code.google.com by fergus.d...@gmail.com on 12 Oct 2011 at 8:47

Attachments:

GoogleCodeExporter commented 9 years ago
Found that the arduino.h file was affecting the compiler. Even though the 
arduino.h file was not compiled in, having it in the same directory caused this 
problem. Renaming arduino.h to arduinoa.h fixed this problem.

Original comment by fergus.d...@gmail.com on 12 Oct 2011 at 9:08

GoogleCodeExporter commented 9 years ago

Original comment by dmel...@gmail.com on 13 Oct 2011 at 7:26

GoogleCodeExporter commented 9 years ago
Just to make clearer, the include file was called arduino.h since we had a 
bitmap of the arduino logo and wanted to include it in the sketch. The previous 
library file wsprogram.h would be a much better choice and would not cause 
these problems.

Original comment by fergus.d...@gmail.com on 27 Oct 2011 at 12:13