Go Down

Topic: Where can one find the source code e.g. pins_arduino.h (Read 854 times) previous topic - next topic

conradelektro

I am a total beginner and do not find the source files which are included in an Arduino sketch?

In particular I am looking for pins_arduino.h and other source filed defining the various logical names one can use in a sketch?

Greetings, Conrad

johnwasser

Depends on your operating system.  On the Mac you find the core sources inside the Arduino app:

/Applications/Arduino 1.0.1.app/Contents/Resources/Java/hardware/arduino/cores/arduino
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Graynomad

On windows

<your install folder>/hardware/arduino/sam

_______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

conradelektro

Thank you to the two kind souls who pointed me to the right folders. I now use the  Windows 7 search function, which allows to find "words" in files. In this way I can look up the important declarations and definitions.

Greetings, Conrad

Graynomad

Quote
search function, which allows to find "words" in files.

That's how you find how things have been done. The program called "grep" is a standard for the old-timers :)

______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

Go Up