Go Down

Topic: How do I use AVR studio? (Read 3 times) previous topic - next topic

techx

Hi - I am wondering how do I use AVR studio to connect to my arduino and program it in C++... I would appreciate as in depth as posible...

I have arduino dicemilla.

worapoht

AVR Studio support only C project not C++.
Alternate choice is Eclipse + AVR plugin and WINAVR can use both C C++

techx

#2
Oct 06, 2008, 01:20 am Last Edit: Oct 06, 2008, 01:43 am by brianfast Reason: 1
Ok - just tell me a way to get real C or C++ code on my arduino on windows...

dcb

I think the arduino environment qualifies as "real" C, C++.

start small, get blink working, from the arduino menus:
file->sketchbook->Examples->Digital->Blink
file->upload to I/O board

observe blinkness of onboard LED, play with delay values and re-upload/re-observe.

mikalhart

Quote
I think the arduino environment qualifies as "real" C, C++.


Absolutely right!  It's not overly well publicized fact, but the Arduino IDE -- the package that you download on the main arduino.cc site -- is pure, unadulterated C++!  (Well, very slightly adulterated.)

It took me a few days to figure this out, but boy am I happy about that!

Mikal

Go Up