New person here....

mem, that makes a little bit more sense, but then how would one write functions if your scope is only within main? Also where would pre processor directives go? Can someone quickly write up a piece of code as how I would be writing it? Like if you can have preprocessor directives in there then put those in where they would go. And maybe write a dumb function and then call that function.

Since this is C++ how far into the OOB realm can I reach? Am I allowed to make classes? Like maybe an LCD Class, where the pins that the control and data lines are connected be params for the constructor.

Just to give you guys a bit of background, I have been working with AVRs for around 5 years now, I am a junior in college for Computer Engineering, and know more then a handfull of programming languages, C, C++, java, x86 asm, BASIC, PBASIC, etc....So I know what I am doing with this sort of stuff, I am just trying to learn the structure of the code for the Arduino.

Also how would I download code using the stk500? is there an ISP Header on the Arduino or must I remove it from the carrier?

Thanks,
John

EDIT:

Looked at the Duemilanove board, and I see the ISP or "ICSP" 6 pin header. The usb connection looks like an FTDI USB>RS232 chip, does this mean it can be used as a COM port? Are the drivers built into XP?

Or are these all questions better suited for the freaks forum? ::slight_smile: