Take the 2-minute tour ×
Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It's 100% free, no registration required.

I am currently using Arduino Ide to code my arduino but now i want to code my arduino in C/C++ and i dont know where to start from what is the best tools and tutorials suggested for this. I'm a windows 7 user but am very new to programming, much less embedded systems programming.

What do I need to do to start working in a real embedded programming environment? As Atmel's site is a bit daunting for a beginner...

share|improve this question

closed as not a real question by Leon Heller, Nick Alexeev, Dave Tweed, Olin Lathrop, zebonaut Feb 3 '13 at 19:54

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
Arduino is just a board with ATMega328. You can directly program it with Atmel's IDE, though the Arduino environment simplifies many things. –  Gustavo Litovsky Feb 3 '13 at 6:40
    
Play around a bit on Atmel's site, I added a link in your question. AVR Studio 4.0 is a great start, but if your serious, v6.0 is also free (I believe) and will allow you to easily outgrow a 8-bit processor! –  Garrett Fogerlie Feb 7 '13 at 10:44
add comment

1 Answer 1

From the Arduino FAQ- Can I program the Arduino board in C?:

In fact, you already are; the Arduino language is merely a set of C/C++ functions that can be called from your code. Your sketch undergoes minor changes (e.g. automatic generation of function prototypes) and then is passed directly to a C/C++ compiler (avr-g++). All standard C and C++ constructs supported by avr-g++ should work in Arduino. For more details, see the page on the Arduino build process.

You can do any C or C++ coding directly in the Arduino IDE. You can also directly access the Arduino's mcu's ports and registers using the appropriate information. The Arduino IDE isn't limited to Arduino functions. It's just limited as a glorified text editor with a few compiling options.

The Amtel AVR Studio, or the AVR=Plugin for the Eclipse IDE are other options.


However if you solely need to begin using a real development environment on a Windows based OS, AVR Stduio version 6 is free and uses a Mircrosoft Visual Studio environment. Or if you want something a bit older/easier, AVR Studio 4.0 is a great beginner's place to start!

share|improve this answer
    
+1 Great answer! –  Garrett Fogerlie Feb 7 '13 at 10:41
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.