Arduino Eclipse

From emboxit
Jump to: navigation, search


  • Select help->install new software
Site: http://www.baeyens.it/eclipse/update
select the newest version of the plugin

Arduino1.0 compiler selected


After installation tell Eclipse to process pde like C++ file

Windows ->preferences
In the section C/C++ -> file types press new
enter *.pde as filename and C++Source file as type.



  • New Project ArduinoPro created
Compiled with errors

  • New Project ArduinoFio created
Build successfully




File:Arduino-Eclipse-1.jpg File:Arduino-Eclipse-2.jpg




  • C++ settings of project did not need to add
-x c++ before {$INPUTS}
It was allready there

File:Arduino-Eclipse-3.jpg




  • .cpp file renamed to .pde
  • SPI libray
Imported to project
declared to test4.h
  • Build successfully

File:Arduino-Eclipse-5.JPG