Hi everyone.
I've been wanting to learn C for a while and i'd like to do it on my Arduino. The main reason is i'd like to not be completely locked into the Arduino platform for avr development.
Does anybody know of any good resources that could help me?
it would be helpful to know a little bit about your programming skills. Is this your first programming language or not? If not so: what kind of programming language do you already know?
As far as programming experience i've used Python for over a year and would say i'm about intermediate level. Bit of vhdl and lisp. I've also done a bit of C but that was with beej's guide to C.
What i'm having difficulty with is finding resources for C with avr's in mind.
@Professor Chaos
Whew! That's an expensive book. Right now i'm skinter than skint but if I had the money i'd most likely get it. Cheers.
If you really want to learn C, ie not just to use solely with Arduino, I suggest you read K&R's book, The C Programming Language. That book is actually intended to existing developers wanting to learn C, ie it's not really intended to people that want to get start in Software Development.
If you are relatively new to Software Development in general, I suggest you instead read C Primer Plus, by Stephen Prata. It's more of a beginners book than K&R's.
@Mike Mc
That's a great find! I already bought one of Tom's books before and found it to be a good resource. Bit too much Processing for my tastes though.
@Andreas Grech
I've heard recommendations about that book so many times that I may actually buy it at some point. Right now i'm just looking for some web links. I might go and ask at avrfreaks as they seem an alright bunch.
Have you looked at http://www.smileymicros.com/ ?
He has an Embedded C programming book, based around the Atmel Butterfly, but a lot of it should apply to the Arduino, AND he's recently "discovered" arduino and has been talking about it as well. See the "Smiley's Workshop" downloads (Workshop 9 is "The Arduino Way.")
Perhaps, but not for embedded C or for Arduino. The first example includes stdio.h and uses printf(), and I don't see anything on embedded programming.
That is brilliant. I've briefly looked and this appears to be more or less what I was looking for.
Cheers!
[edit] I've just looked through month#9-12 and there's very little real-C. Mainly arduino code or c with the wiring library. All very basic stuff. I'm going to have a look at the ones before.