Loading...
Pages: [1]   Go Down
Author Topic: Where can one find the source code e.g. pins_arduino.h  (Read 306 times)
0 Members and 1 Guest are viewing this topic.
Austria
Offline Offline
Newbie
*
Karma: 0
Posts: 13
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: 96
Posts: 6372
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

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 71
Posts: 6826
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 http://www.robgray.com

Austria
Offline Offline
Newbie
*
Karma: 0
Posts: 13
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: 71
Posts: 6826
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 http://www.robgray.com

Pages: [1]   Go Up
Print
 
Jump to: