Go Down

Topic: Switching from Arduino to straight AVR-C (Read 11944 times) previous topic - next topic


Jan 12, 2011, 08:54 am Last Edit: Jan 12, 2011, 09:15 am by simon.monk Reason: 1
If your main reason for feeling limited is the difficulty of editing large files, then try Arduino with Eclipse.

Eclipse is open source and must be about the most used integrated development environment in the world. Its built for big files.

I have not tried using Eclipse with Arduino, but I have heard its possible.
I write books about Arduino and Electronics: http://simonmonk.org


Ok... my point didn't come accross.

Have you tried the other way around?

write something like


outside main() in C and still work?

True, you can use all the registers to configure the Arduino chip in Arduino, but do you? I was trying to point out that once the Arduino IDE is left, you really need to know which register does what. And what about dependencies? I mean, you can configure the chip your own way, but you decide to use one of the Arduino objects that interfere with a timer or a pin... what then?

I'm not dissing Arduino, I'm just trying to point out the differences between them to the average user. That's it.
This... is a hobby.


Jan 12, 2011, 03:24 pm Last Edit: Jan 12, 2011, 03:32 pm by pwillard Reason: 1
Ok, you are right.  They made it too easy...

So maybe with a little explanation....  some progress can be made.

Here is a place to start: (I sorted of hinted at this earlier)

Joe really has figured this all out for us.


And for even more fun... check out his articles in NUTS&VOLTS Magazine... or check out one of his downloads: http://smileymicros.com/download/Workshop%2010%20Source%20Code.zip for some interesting reading.


It was the objective of the thread...

It is true that it's really easy to get one and start writing something to turn our idea into reality. And Arduino serves its purpose brilliantly, but if someone wants to use C, then they need to be aware of everything that is behind the curtains in Arduino... because even the most basic things in arduino have some knowledge behind. The setup() and loop() functions, setting a pin, etc, etc...

And I'll confess, although not liking the language it is my prime choice to troubleshoot known hardware connected to the arduino. I mean, there it is, already implemented and tested by thousands of people... so every time I get some new hardware connected to the board, I pick up an example and run it to make sure everything's good with the hardware and if some problems appear with the C software, it is definitely a software problem. :)
This... is a hobby.


Does the title imply that there's a gay AVR-C?
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.


Code: [Select]
First you say "Arduino is the only language I "know"." And later on you say that programs should be compiled through the command line. If you only know Arduino, how do you know that compiling through the command line is better ?
How do you even know C is better?

I have more experience with Arduino than anything else. I have written Java and perl before, but my biggest projects are in Arduino.

Code: [Select]
So why do I prefer Arduino?   Because it is all about rapid development and turning an idea into reality... fast.
Right, that's why I started using it, but now my programs are big, bloated, and in multiple versions for multiple slightly different applications.

Code: [Select]
IDE... who cares... so it's not Visual Studio quality... I always look at it like "you get what you pay for" and this was free... so why complain.
C and vi are free too.


Jan 12, 2011, 07:50 pm Last Edit: Jan 12, 2011, 08:07 pm by retrolefty Reason: 1
I didn't even started to learn the Arduino language

And I'll confess, although not liking the language

OK, I guess the root of my complaint is the use of the term "Arduino language". There is no Arduino language, it's use the gcc C/C++ language.

The Arduino IDE and core files do add prepossessing steps, predefined functions and libraries and configuration setups, and more, but it is not programmed in a different language. And so many newcomers come to this forum saying or asking that they would like to use an Arduino board but they want to only program it with the C/C++ language. So then some of us, maybe only me, go WTF is he talking about.  ;D



Ditto what Retro says.

wxDEVC++ is my preferred tool for windows...   I'm good with free.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131