Behind The Scence With Functions?


i trying understand in simplest form of inside or made of predefine functions?

c++ tutorial not explain nor did find anythig on site.

example:

setup() function

void setup() {               
  // initialize digital pin output.
  pinmode(led, output);

where code setup() or pinmode(var1,va2)???

this never described in detail anywhere?

any appreciated.  thanks.

quote
where code setup()
you write it.

quote
or pinmode()
all of source code available you. trick finding it. depends on board, 1 thing. code arm boards different avr boards.

on system, ide installed in c:\users\pauls\documents\arduino-<some version>, , pinmode() declared in hardware\arduino\avr\cores\arduino\arduino.h (relative install path) , implemented in wiring_digital.c in same directory.


Arduino Forum > Using Arduino > Programming Questions > Behind The Scence With Functions?


arduino

Comments

Popular posts from this blog

DHT11 Time out error using v0.4.1library

Sketch upload fails with Java error (___REMOVE___/bin/avrdude)!

Arduino Uno + KTY81/210 temperature sensor