Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] C programming on AVR

2008-03-22 by kholt@sonic.net

I recently moved from assembly programming to C for the AVR for
 a project, teaching myself mostly.  It has been torturous, for me
 especially because I'm originally a hardware guy.  Programming
 in assembly over the last 5 years has been straightforward, and
 an easy understanding of the pins and resources of each micro.
 However, the incredibly klugey nature and structure of the C
 compilers and makefile systems to me was and still is horrendous.
 I have been learning mostly with WinAVR and the Butterfly, a system
 touted as having many good examples to expand from.  However,
 some versions of the Butterfly were not written in WinAVR, and the
 code is NOT portable, and is generally full of bugs or poor
documentation.
 (Since it is free, I'm not supposed to mind.)   Therefore, one
cannot simply
 pick up modules from anywhere and hack them into one's code, as I
 had hoped.
 The books and online tutorials have not helped much.  I was able to
 rope a friend, who is a C application programmer, into a fun AVR
 project, and we tackled this nasty mess from our two different
 directions, working together.
 Ken
 On Sat 03/22/08 10:29 AM , "Leon" leon355@btinternet.com sent:
	----- Original Message ----- 
 From: "bronzefury" 
 To: 
 Sent: Friday, March 21, 2008 3:45 PM
 Subject: [AVR-Chat] C programming on AVR
 > Hi,
 >
 > I haven't seen a good website that teaches how to write C for the
AVR
 > and would like to get some opinion from the group about which book
 > you'd recommend.  Sometimes, ratings on Amazon are a bit skewed. 
I'd
 > prefer to stick with AVR Studio and WinAVR. I already have the
 > Kernighan & Ritchie book on C.
 You don't need anything else, just look at a few embedded C examples
and it 
 should be obvious what you need to do.
 Leon
 --
 Leon Heller
 Amateur radio call-sign G1HSM
 Yaesu FT-817ND and FT-857D transceivers
 Suzuki SV1000S motorcycle
 leon355@btinternet.com [3]
 http://www.geocities.com/leon_heller [4]
                       


Links:
------
[1] mailto:bronzefury@yahoo.com
[2] mailto:AVR-Chat@yahoogroups.com
[3] mailto:leon355@btinternet.com
[4] http://www.geocities.com/leon_heller
[5]
http://groups.yahoo.com/group/AVR-Chat/message/14577;_ylc=X3oDMTM2bTg5NnU4BF9TAzk3MzU5NzE0BGdycElkAzQzMTM5NzQEZ3Jwc3BJZAMxNzA2NTU0MjA1BG1zZ0lkAzE0NTc4BHNlYwNmdHIEc2xrA3Z0cGMEc3RpbWUDMTIwNjIwNjk4NwR0cGNJZAMxNDU3Nw--
[6]
http://groups.yahoo.com/group/AVR-Chat/post;_ylc=X3oDMTJxNGJhOHRsBF9TAzk3MzU5NzE0BGdycElkAzQzMTM5NzQEZ3Jwc3BJZAMxNzA2NTU0MjA1BG1zZ0lkAzE0NTc4BHNlYwNmdHIEc2xrA3JwbHkEc3RpbWUDMTIwNjIwNjk4Nw--?act=reply&messageNum=14578
[7]
http://groups.yahoo.com/group/AVR-Chat/post;_ylc=X3oDMTJldnE1MmE5BF9TAzk3MzU5NzE0BGdycElkAzQzMTM5NzQEZ3Jwc3BJZAMxNzA2NTU0MjA1BHNlYwNmdHIEc2xrA250cGMEc3RpbWUDMTIwNjIwNjk4Nw--
[8]
http://groups.yahoo.com/group/AVR-Chat/messages;_ylc=X3oDMTJldDJrbjRlBF9TAzk3MzU5NzE0BGdycElkAzQzMTM5NzQEZ3Jwc3BJZAMxNzA2NTU0MjA1BHNlYwNmdHIEc2xrA21zZ3MEc3RpbWUDMTIwNjIwNjk4Nw--
[9]
http://groups.yahoo.com/group/AVR-Chat/files;_ylc=X3oDMTJmbzBxcGVrBF9TAzk3MzU5NzE0BGdycElkAzQzMTM5NzQEZ3Jwc3BJZAMxNzA2NTU0MjA1BHNlYwNmdHIEc2xrA2ZpbGVzBHN0aW1lAzEyMDYyMDY5ODc-
[10]
http://groups.yahoo.com/group/AVR-Chat/photos;_ylc=X3oDMTJlYTBoNDk4BF9TAzk3MzU5NzE0BGdycElkAzQzMTM5NzQEZ3Jwc3BJZAMxNzA2NTU0MjA1BHNlYwNmdHIEc2xrA3Bob3QEc3RpbWUDMTIwNjIwNjk4Nw--
[11]
http://groups.yahoo.com/group/AVR-Chat/links;_ylc=X3oDMTJmaWVvaWgxBF9TAzk3MzU5NzE0BGdycElkAzQzMTM5NzQEZ3Jwc3BJZAMxNzA2NTU0MjA1BHNlYwNmdHIEc2xrA2xpbmtzBHN0aW1lAzEyMDYyMDY5ODc-
[12]
http://groups.yahoo.com/group/AVR-Chat/database;_ylc=X3oDMTJjNzMzdm5iBF9TAzk3MzU5NzE0BGdycElkAzQzMTM5NzQEZ3Jwc3BJZAMxNzA2NTU0MjA1BHNlYwNmdHIEc2xrA2RiBHN0aW1lAzEyMDYyMDY5ODc-
[13]
http://groups.yahoo.com/group/AVR-Chat/polls;_ylc=X3oDMTJmMjUyaHNiBF9TAzk3MzU5NzE0BGdycElkAzQzMTM5NzQEZ3Jwc3BJZAMxNzA2NTU0MjA1BHNlYwNmdHIEc2xrA3BvbGxzBHN0aW1lAzEyMDYyMDY5ODc-
[14]
http://groups.yahoo.com/group/AVR-Chat/members;_ylc=X3oDMTJla3NocWwwBF9TAzk3MzU5NzE0BGdycElkAzQzMTM5NzQEZ3Jwc3BJZAMxNzA2NTU0MjA1BHNlYwNmdHIEc2xrA21icnMEc3RpbWUDMTIwNjIwNjk4Nw--
[15]
http://groups.yahoo.com/group/AVR-Chat/calendar;_ylc=X3oDMTJkaXJvcGhzBF9TAzk3MzU5NzE0BGdycElkAzQzMTM5NzQEZ3Jwc3BJZAMxNzA2NTU0MjA1BHNlYwNmdHIEc2xrA2NhbARzdGltZQMxMjA2MjA2OTg3
[16]
http://groups.yahoo.com/;_ylc=X3oDMTJkOWw4NzI0BF9TAzk3MzU5NzE0BGdycElkAzQzMTM5NzQEZ3Jwc3BJZAMxNzA2NTU0MjA1BHNlYwNmdHIEc2xrA2dmcARzdGltZQMxMjA2MjA2OTg3
[17]
http://groups.yahoo.com/group/AVR-Chat/join;_ylc=X3oDMTJmM2s2dnIzBF9TAzk3MzU5NzE0BGdycElkAzQzMTM5NzQEZ3Jwc3BJZAMxNzA2NTU0MjA1BHNlYwNmdHIEc2xrA3N0bmdzBHN0aW1lAzEyMDYyMDY5ODc-
[18] mailto:AVR-Chat-digest@yahoogroups.com?subject=Email Delivery:
Digest
[19]
mailto:AVR-Chat-traditional@yahoogroups.com?subject=Change%20Delivery%20Format:%20Traditional
[20]
http://groups.yahoo.com/group/AVR-Chat;_ylc=X3oDMTJkZXQ5NnB2BF9TAzk3MzU5NzE0BGdycElkAzQzMTM5NzQEZ3Jwc3BJZAMxNzA2NTU0MjA1BHNlYwNmdHIEc2xrA2hwZgRzdGltZQMxMjA2MjA2OTg3
[21] http://docs.yahoo.com/info/terms/
[22] mailto:AVR-Chat-unsubscribe@yahoogroups.com?subject=
[23]
http://groups.yahoo.com/group/AVR-Chat/members;_ylc=X3oDMTJmazFpamYxBF9TAzk3MzU5NzE0BGdycElkAzQzMTM5NzQEZ3Jwc3BJZAMxNzA2NTU0MjA1BHNlYwN2dGwEc2xrA3ZtYnJzBHN0aW1lAzEyMDYyMDY5ODc-
[24]
http://groups.yahoo.com/group/AVR-Chat;_ylc=X3oDMTJlczZpZzJlBF9TAzk3MzU5NzE0BGdycElkAzQzMTM5NzQEZ3Jwc3BJZAMxNzA2NTU0MjA1BHNlYwN2dGwEc2xrA3ZnaHAEc3RpbWUDMTIwNjIwNjk4Nw--
[25]
http://us.ard.yahoo.com/SIG=13omsgbte/M=493064.12016309.12445701.8674578/D=groups/S=1706554205:NC/Y=YAHOO/EXP=1206214188/L=/B=4RJEDELaX.o-/J=1206206988258144/A=3848614/R=0/SIG=12t4qk00m/*<a
href=
[26]
http://us.ard.yahoo.com/SIG=13oo7fg6e/M=493064.12016257.12445664.8674578/D=groups/S=1706554205:NC/Y=YAHOO/EXP=1206214188/L=/B=4hJEDELaX.o-/J=1206206988258144/A=4507179/R=0/SIG=12de4rskk/*<a
href=
[27]
http://us.ard.yahoo.com/SIG=13oao21hg/M=493064.12016262.12445669.8674578/D=groups/S=1706554205:NC/Y=YAHOO/EXP=1206214188/L=/B=4xJEDELaX.o-/J=1206206988258144/A=5028924/R=0/SIG=11e3tma2a/*<a
href=


[Non-text portions of this message have been removed]

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.