How to see the function implementation or function call in Arduino SDK/IDE

Hello All,
I am new to arduino and i am using Arduino UNO development board and Arduino1.0.5 SDK/IDE.
my problem is that ->
1) in most of the development IDE like Keil, IAR, CCS we can easily see the function call, function hierarchy or say implementation of function but i am not able to do these things in Arduino SDK/IDE.
2) in in most of the development IDE we can open the .c / .cpp/ or .h file can can modify it accordingly but i am not able to do these also in Arduino SDK/IDE.

for ex :- the blink led code is like=>
int led = 13;

// the setup routine runs once when you press reset:
void setup() {
// initialize the digital pin as an output.
pinMode(led, OUTPUT);
}

// the loop routine runs over and over again forever:
void loop() {
digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(led, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}

Now i want to see the implementation of pinMode() fn or delay() fn or digitalWrite() fn then how can i do this ?
where is int main() for this project ?

even though in most of the project some header files are also added but i am not able to open that header file also...
so anyone plz guide me how can do above things....
becoz as a developer if i am not able to see the fn implementation or basic functionality then i afraid how people are saying arduino is good for development...
any experts or community member plz solve my doubt...

Thanks & Regards,
Maneesh Singh

maneesh:
Hello All,
I am new to arduino and i am using Arduino UNO development board and Arduino1.0.5 SDK/IDE.
my problem is that ->
1) in most of the development IDE like Keil, IAR, CCS we can easily see the function call, function hierarchy or say implementation of function but i am not able to do these things in Arduino SDK/IDE.
2) in in most of the development IDE we can open the .c / .cpp/ or .h file can can modify it accordingly but i am not able to do these also in Arduino SDK/IDE.

for ex :- the blink led code is like=>
int led = 13;

// the setup routine runs once when you press reset:
void setup() {
// initialize the digital pin as an output.
pinMode(led, OUTPUT);
}

// the loop routine runs over and over again forever:
void loop() {
digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(led, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}

Now i want to see the implementation of pinMode() fn or delay() fn or digitalWrite() fn then how can i do this ?
where is int main() for this project ?

even though in most of the project some header files are also added but i am not able to open that header file also...
so anyone plz guide me how can do above things....
becoz as a developer if i am not able to see the fn implementation or basic functionality then i afraid how people are saying arduino is good for development...
any experts or community member plz solve my doubt...

Thanks & Regards,
Maneesh Singh

If you look within your arduino installation directory then from there go to \hardware\arduino\cores\arduino you'll find all the source code for the built in libraries you're interested in. Even main.cpp is there.

I'll leave you to seek out the juicy bits.

Hello KenF,
Thanks For Reply...

whatever u suggested is of great help to me but i dont want to do like this.

Actually i want to know how to open all these header files or function calls from Arduino SDk/IDE only...
for eg. ->
**if i am using Blink LED code and i want to see where digitalWrite(led, HIGH); fn is getting called then how can i jump to this fn to see what this fn is doing... but as u suggested if for each fn i need to go manually and open the files then i think its very difficult and un-practical task for a developer **

its like in basic c compiler if we click on any fn then easily we can jump to that fn implementation only... same thing i also want to do with Arduino...

i am asking this becoz i hav to develop some code using arduino with many functions and header files so every time i cannot go and open the file manually to see any fn implementation....

i hope u got my point...
plz help me to understand all these things...

Thanks & Regards,
Maneesh singh

Hello KenF,

Plz reply to my post...

Thanks & Regards,
Maneesh singh

maneesh:
Actually i want to know how to open all these header files or function calls from Arduino SDk/IDE only...

You seem to be expecting the simple Arduino IDE to do things it was never designed for.

Is it really necessary to do these things just because you happen to be used to them?

The Arduino has very limited resources (unlike a PC) and programs are generally easy to debug just using Serial.print() statements in appropriate places.

...R

PS it is very unreasonable to be reminding a person to reply to your Posts after only 23 minutes