Resources for Learning C with Arduino

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?

Hi Regomodo,

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?

Cheers, Udo

There is a book called "embedded C programming for the Atmel AVR" which sounds like it might fit your needs exactly

@ Udo

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.

@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.

sorry, but most specialized software books cost are in that range...
that suck, but it's always like that...

sorry, but most specialized software books cost are in that range...
that suck, but it's always like that...

Tell me about it. Hopefully I'll never have to buy another book that cost me as much as this.

I have a considerably cheaper 1992 edition - great book.

How about web resources? Does anybody know of some good sites?

http://www.earthshinedesign.co.uk/ASKManual/Site/ASKManual.html

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.

@Mike Mc
That's a great find!

He didn't find it, he wrote it...

Andrew

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.")

One of the best:

One of the best:
http://www.amazon.com/Book-Programming-4th-Al-Kelley/dp/0201183994

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.

Have you looked at http://www.smileymicros.com/ ?

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.

Do like his drawings. Very good.