Pages: [1]   Go Down
Author Topic: Where are the basic libraries?  (Read 413 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 6
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I want to understand how some of the basic functions (like - millis() and Digital.Write() )works. But I can't find the files in which they are implemented.

Where are they??

Thanks!
Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 176
Posts: 12283
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


For Arduino IDE 0018...

{Your Arduino Root Directory}\hardware\arduino\cores\arduino
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 6
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for the reply.
I looked in all the files in that library and didn't find millis() function.

what am I missing?  
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 331
Posts: 16497
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

That is a function in the file wiring.c

C:\Documents and Settings\Primary Windows User\My Documents\My Programs\Arduino\arduino-0018\hardware\arduino\cores\arduino\wiring.c

Lefty
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 6
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

great, thanks!!
Logged

Pages: [1]   Go Up
Jump to: