Arduino Eclipse无法解析Serial

Spe*_*rem 6 eclipse arduino

我一直在尝试设置Eclipse和Arduino库.我已按照此网址上的说明操作. http://arduino.cc/playground/Code/Eclipse

我遇到的问题是我的项目无法解析Serial.任何人都知道为什么会这样?我正在使用Arduino 1.0,并且该指令是为1.0版本编写的.

Spe*_*rem 13

Setting the preference windows->preferences->C/C++->indexer->index unused headers.

Setting the preference windows->preferences->C/C++->indexer->index source and header files opened in the editor.

Setting the preference windows->preferences->C/C++->indexer->Files to index upfront . Add arduino.h and or WProgram.h.

Do next four in this sequence
 Right click the project->index->Search for unresolved includes.
Right click the project->index->Freshen all Files.
Right click the project->index->Update with modified files.
Right click the project->index->Rebuild.
Run Code Online (Sandbox Code Playgroud)