(Read 650 times)
Apr 01, 2012, 02:45 pm
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?
Unlimited Eagle board sizes available.
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
Apr 01, 2012, 04:35 pm
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. Screw Shield for Mega/Due/Uno, Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at my website.