(Read 474 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?
Location: Boston area, metrowest
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. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.