i am new to Arduino. Maybe this question was answered elsewhere but i was searching this forum and I couldn’t find anything about this problem.
I am trying to user Eclipse for sketch-Development rather than Arduino-IDE because of the nice code-completion feature.
I followed the checklist in the Arduino-Playground Eclipse Howto (http://www.arduino.cc/playground/Code/Eclipse) and was finally able to write some small sketches and upload it to my arduino UNO-board. So, every thing is fine - almost.
While the compiler/linker/avrdude is compiling/linking/uploading the code without errors, when i am working in a C+±File, the Eclipse IDE doesn’t seem to recognize the variable typedefs (uint8, uint16 etc.) and therefore is highlighting every command in my code with parameters of such types: e.g. “pinMode(?,?) Unrecognized Parameters”. However, this problem does not occure when working with C-Files.
Although this is not a showstopper, it is a little bit annoying an makes the on-the-fly error-highlighting useless because it highlights many lines of code that actually doesn’t contain errors making the real errors harder to spot, so i really want to solve this problem.
I’m using “eclipse indigo cdt with linux tools” on xubuntu 11.04 64bit and installed the arduino-plugin using the update site (AVR Eclipse Update Site)
I am thankful for any help.