Pages: [1]   Go Down
Author Topic: Where can one find the source code e.g. pins_arduino.h  (Read 756 times)
0 Members and 1 Guest are viewing this topic.
Austria
Offline Offline
Newbie
*
Karma: 0
Posts: 18
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 208
Posts: 8858
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 129
Posts: 8531
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

On windows

<your install folder>/hardware/arduino/sam

_______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Austria
Offline Offline
Newbie
*
Karma: 0
Posts: 18
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 129
Posts: 8531
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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 smiley

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Pages: [1]   Go Up
Jump to: