Where can one find the source code e.g. pins_arduino.h

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

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

On windows

/hardware/arduino/sam


Rob

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

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 :slight_smile:


Rob