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 :~
I have almost the same problem as Zulkarnine, and the previous solutions didn't work for me =SThe difference is that i have color and auto-complete code with: pinMode(myLED, OUTPUT); but i don't have with this: Serial.begin(960);
Code-sense, auto-completion and arguments list are displayed usually without problem in my laptop. Now, it isn't a 100% hit because code-sense implementation changes with every Xcode release and as Apple is more than secretive about the customisation of Xcode.
=S anyway, Is there any theme to get the color equal to the arduino ide?
Thanks for all your hard work.
Does release 51 mean we don't need to do step 3.2.1 (add user's libraries) in the manual
Got this thing working. Great work!My only problem is how to set the baud rate of the terminal serial monitor?
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16