Thank you for your response, I tried re-indexing the way it was mentioned in 4.6 even ater that they don't show any color or auto-complete. pinMode or OUTPUT or Serial.print() doesn't show any sigh of auto completion.
in the 2nd post the example what you mentioned is the part of standard C++ code sense, isn't it.
like
int functionName(
int an_example,
int b_example){
return a_example+b_example;
}
void main(){
int a=
10;
int b=
20;
cout<<
functionName(a,b);
}
in the above mentioned example we are declaring a function
functionName and calling it again in the
main function. so it works fine since it is standard C++ implementation. But when I try to write:
pinMode(pinNum,HIGH);
Serial.begin(960);
analogWrite(13,HIGH);
they don't show colors and I dont even get code completion suggestions. But they should be actually like this:
pinMode(pinNum,HIGH);
Serial.
begin(960);
analogWrite(13,
HIGH);
aren't they? Since they are declared in
Arduino.hwhat i mean is the functions declared in
Arduino.h are not being recognised by Xcode while i'm editing in the
.ino file. It might have something to do with the Xcode version. I'm using Xcode 4.6.2. Is there anything I'm missing maybe :~