Arduino Forum
>
Products
>
Arduino Due
(Moderator:
fabioc84
)
>
Where can one find the source code e.g. pins_arduino.h
Print
Go Down
Pages:
[1]
Topic: Where can one find the source code e.g. pins_arduino.h
(Read 1 time)
previous topic
-
next topic
conradelektro
Newbie
Posts: 20
Karma: 0
[add]
Where can one find the source code e.g. pins_arduino.h
Dec 02, 2012, 04:22 pm
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
Brattain Member
Posts: 16,037
Karma: 1278
[add]
Re: Where can one find the source code e.g. pins_arduino.h
#1
Dec 02, 2012, 04:53 pm
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: 1G2qoGwMRXx8az71DVP1E81jShxtbSh5Hp
graynomad
Tesla Member
Posts: 9,278
Karma: 569
[add]
Scattered showers my arse -- Noah, 2348BC.
http://www.robgray.com
Re: Where can one find the source code e.g. pins_arduino.h
#2
Dec 03, 2012, 03:36 am
On windows
<your install folder>/hardware/arduino/sam
_______
Rob
Rob Gray aka the GRAYnomad www.robgray.com
conradelektro
Newbie
Posts: 20
Karma: 0
[add]
Re: Where can one find the source code e.g. pins_arduino.h
#3
Dec 03, 2012, 01:36 pm
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
Tesla Member
Posts: 9,278
Karma: 569
[add]
Scattered showers my arse -- Noah, 2348BC.
http://www.robgray.com
Re: Where can one find the source code e.g. pins_arduino.h
#4
Dec 03, 2012, 02:26 pm
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
Print
Go Up
Pages:
[1]
Loading...