Hello,
The problem
I want to use a method in order to display debug information on the Eclipse monitor.
But the Serial.begin(9600);
method is underlined in red.
My system
Mac OS 10.8.4
Arduino IDE 1.0.5
Eclipse IDE for C/C++ Developers
Version: Juno Service Release 2
Build id: 20130225-0426
(as all files have been downloaded and installed last week-end, I suppose my versions are up to date)
My research
-
The configuration was performed according to your indications (Preferences > Arduino > Paths).
-
The 19 pages of this topic have been read (specifically « Reply #5 on: November 22, 2011, 06:50:59 pm » Windows/Linux/Mac Eclipse plugin to compile and upload arduino sketches - Libraries - Arduino Forum (but I do not have any "pins_arduino.c" file in the Arduino application folders) and « Reply #67 on: June 19, 2012, 06:32:19 pm ») Windows/Linux/Mac Eclipse plugin to compile and upload arduino sketches - Libraries - Arduino Forum .
-
I have watch at the movie, but (Video time 04:15) I do not have the "File to index up-front;" file in my version of Eclipse. No change if I add « io.h » and « arduino.h » in the Preference >C/C++ >Files types window.
-
Even copying the actions displayed, the code doesn’t work.
-
This link « Reply #9 on: September 05, 2011, 07:35:25 pm » Implementing Serial and other functions into sketches made by Eclipse - Programming Questions - Arduino Forum seems to be complicated and I do not understand the action.
-
I can use the others libraries (Import > Import Arduino librairies in the current project) and selecting the corresponding one.
But as I just want to have this common line working:
void setup()
{
serial.begin(9600);
}
the serial.begin method is underlined in red and therefore, compilation fails (Symbol ‘serial’ could not be resolved).
My Question
How can I proceed to send debug data onto the Eclipse monitor?
Thanks for the (long) time you spent on this forum…