Pages: [1]   Go Down
Author Topic: Advice wanted: programming book for Arduino  (Read 299 times)
0 Members and 1 Guest are viewing this topic.
UK
Offline Offline
Newbie
*
Karma: 0
Posts: 21
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

I've been playing with Arduino for about a year and I'm happy that for the most part I can figure out the electronics and wiring.
Where I'm struggling is with the 'advanced' coding.
Things like pointers, changing variable types, creating my own libraries,...


So, I would appreciate recommendations for books or online resources that will help me.

Thanks,
Albert.
« Last Edit: January 29, 2012, 07:17:07 pm by winkleink » Logged

Seattle, WA USA
Online Online
Brattain Member
*****
Karma: 549
Posts: 46063
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Where I'm struggling is with the 'advanced' coding.
There is no one book that is going to help. Any good C++ book will be a big help, but will not be designed specifically for the Arduino.

The Atml data sheets are good for specifics on programming the Arduino, but don't help much with programming in general.

Google is a great resource for specific topics.
Logged

Grand Blanc, MI, USA
Offline Offline
Faraday Member
**
Karma: 71
Posts: 3511
CODE is a mass noun and should not be used in the plural or with an indefinite article.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm a big fan of Kernighan and Ritchie, and while their book only covers C, not C++, a lot can be done with Arduino without writing any C++. Libraries however would be an exception, and K&R of course is no help there, but there are various how-tos around the web. There is a school of thought that says don't learn C first, just learn C++, so I wouldn't discount that, either. http://www.cplusplus.com/ has a decent C++ tutorial.
Logged

MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

UK
Offline Offline
Newbie
*
Karma: 0
Posts: 21
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

PaulS & jack,

Thanks for the recommendations. I sue to own a copy of Kernighan and Ritchie C book about 25 years ago but it's been lost in the many moves.  I'll start with http://www.cplusplus.com/ and see how I get on.
I'm trying to use libraries by reading the sample code and sometime the syntax and coding is beating me.

Again, thanks for the advice.
Albert.

Logged

New Zealand
Offline Offline
Full Member
***
Karma: 1
Posts: 105
Just this guy you know.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I like Programming Interactivity, Second Edition
It covers the basic's of programming and contains a lot of good Arduino information.
Logged

Gosport, UK
Offline Offline
Faraday Member
**
Karma: 19
Posts: 3114
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I suspect Si might be along in a bit.
Logged

Pages: [1]   Go Up
Jump to: