Pages: [1]   Go Down
Author Topic: Arduino.h  (Read 469 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
Karma: 0
Posts: 58
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi all.
Now I´m getting really good in C. And now I wanna try too make my own products. So I started with a plain atmega32 chip.
But programming without arduino, is harder than I thought. Cause basic input and output is different than arduino.
When I use pinMode(Pin, INPUT); it´s kind of a function to set up the input pin. example:
PINB = 0b&01000000. This set up the input 2 as hight.

So my question. How is the pinMode, digitalread, digitalwrite ++++ is made?

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
Karma: 545
Posts: 27357
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Check out the arduino core files here,
may help you out.
Also, the code behind the Arduino functions is already on your computer, look thru the installed code files.

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at
Arduino for Teens available at

Pages: [1]   Go Up
Jump to: