Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
Bingo600
PostPosted: Aug 23, 2004 - 08:33 PM
Raving lunatic


Joined: Apr 25, 2004
Posts: 3930
Location: Denmark

Hi Freaks ..

As i see so many generic questions about pointers , arrays and other C related stuff. I think we should have a little place for some LEGAL ONLINE C tools and or references.

If this is going to be usefull , then this post should NOT end up being hundreds of pages long. So plese do not use it as your own private remote/backup of your favorite links. But if its generic and helpfull to most other C users , and maybe especially the learners then post a link to it.

Please describe what the link is pointing at/to , and do a skills classification.

I will start out with the obious GCC links (not classified) , and then some links to some online books/docs that i think would be helpfull to other users here.

Hope you will contribute , for the benefit to us all .....

/Bingo

------------------------------------------------------------------------------------


The "Must read's" Laughing Laughing

WinAVR (The free AVR C Compiler)

The Homepage
http://winavr.sourceforge.net/index.html

Download
http://winavr.sourceforge.net/download.html

The link to other AVR resources page , have a look here
http://winavr.sourceforge.net/links.html


avr-libc documentation:
The the avr-libc Homepage
http://www.nongnu.org/avr-libc/

The online html manual
http://www.nongnu.org/avr-libc/user-manual/index.html

The downloadable pdf manual (a must ....)
This is version specific , so have a look at the above homepage when a new version is out.
http://download.savannah.gnu.org/releas ... .7.pdf.bz2

GNU Manuals Online
http://www.gnu.org/manual/

GCC Homepage
http://gcc.gnu.org/

GCC manual online
http://www.gnu.org/software/gcc/onlinedocs/

GNU make manual online
http://www.gnu.org/software/make/manual/make.pdf

Managing Projects with GNU Make, 3'ed
http://www.wanderinghorse.net/computing/make/

------------------------------------------------------------------------------------

Building the AVR Toolchain
http://www.nongnu.org/avr-libc/user-man ... tools.html
I did follow the above "Recipe" , and made it. You can read about my problems/solutions etc. here
http://www.avrfreaks.net/index.php?name ... mp;t=25754

Note: If you want support for the latest processors (Applies to all builds)
You need to apply a patch to the binutils.

As EW wrote:
Quote:
The patches for the new devices are always available to anyone at the avr-libc project site on Savannah, in the Patch Manager.


Building the AVR Toolchain under Linux
A. J. Erasmus made this homepage
http://home.telkomsa.net/antera/
With a "Recipe" for building a "WinAVR" compatible toolchain under linux (Untested by me)
Do start with the Readme

I did update the above buildscripts in this thread
http://www.avrfreaks.net/index.php?name ... mp;t=42631


Building the AVR Toolchain under MacOS X (10.1 or later recommended)
First you must install the developer tools from the Apple CD, which came with OS X, or can be downloaded from the Apple website for free.

Have a look here :
http://www.eecs.berkeley.edu/~mseeman/r ... micro.html

and maybe here (german) , but commands are linux (english)

http://www.mikrocontroller.net/forum/read-2-153385.html

Lately there is a "Local thread" , and i even think an academy project about MAC avr-gcc
http://www.avrfreaks.net/index.php?name ... 8b785d4886


------------------------------------------------------------------------------------

The Generic C Tutorials

The C Book
http://publications.gbdirect.co.uk/c_book/
Category : Nice C tutorial
Level : All

Learn C/C++ Today
http://www.cyberdiem.com/vin/learn.html
A list of a few C and C++ language tutorials
Category : List of C tutorials & examples
Level : All

C Programming Notes
Notes to Accompany The C Programming Language, by Kernighan and Ritchie (``K&R'') (2'nd ed)
http://www.eskimo.com/~scs/cclass/krnotes/top.html
Category : Comments to the K&R book , divided into each chapter
Level : All

C Programming
Quote:
The notes on these pages are for the courses in C Programming I used to teach in the Experimental College at the University of Washington in Seattle

http://www.eskimo.com/~scs/cclass/cclass.html
Category : Seems like a good site with C intros for both beginners & Intermediate
Level : All

C and C++ Programming
Link to a page with lots of c/c++ doc links
http://web.archive.org/web/200908031952 ... amming.htm
Category : Links to dozens of C and C++ related Books/Guides
Level : All

A TUTORIAL ON POINTERS AND ARRAYS IN C
http://pweb.netcom.com/~tjensen/ptr/pointers.htm
PDF Version
http://pweb.netcom.com/~tjensen/ptr/pointers.pdf
Level : All

ISO/IEC 9899 (C library reference)
http://www.open-std.org/jtc1/sc22/wg14/ ... /n1124.pdf
Level : All

What Belongs in a C .h Header File?

http://embeddedgurus.com/barr-code/2010 ... ader-file/
Level: All

------------------------------------------------------------------------------------

The advanced stuff

Numerical Recipes in C
http://lib-www.lanl.gov/numerical/bookcpdf.html
Category : C filters , fft ... etc.
Level : Advanced

Binary to Decimal Conversion in Limited Precision
http://www.cs.uiowa.edu/~jones/bcd/decimal.html
Category : C BCD Conversion routines.
Level : Advanced

The Function Pointer Tutorials
http://www.newty.de/fpt/index.html
http://www.newty.de/fpt/zip/e_fpt.pdf (here as PDF)
Category : Using pointers to functions in C
Level : Advanced

Introduction to the Volatile Keyword
http://www.embedded.com/story/OEG20010615S0107
Category : When to use the volatile keyword in C
Level : ALL (a must read)

How to Use C's volatile Keyword
http://www.netrino.com/Embedded-Systems ... le-Keyword
Category : How to use the volatile keyword in C
Level : ALL (a must read)

Combining C’s volatile and const Keywords
http://embeddedgurus.com/barr-code/2012 ... -keywords/
Category : Does it ever make sense to declare a variable volatile const
Level : ALL (interesting)

Understanding C99's strict aliasing rules
http://cellperformance.beyond3d.com/art ... asing.html
Category : Understanding C99's strict aliasing rules
Level : ALL (a must read)

Nine ways to break your systems code using volatile
http://blog.regehr.org/archives/28
Category : (mis)Using the volatile keyword in C
Level : ALL (a must read)

"Getting the Least out of Your C Compiler"
http://user.it.uu.se/~jakob/publication ... f-2001.pdf
Category : What you (thought) you told your compiler
Level : ALL

Efficient C Code for Eight-Bit MCUs
http://www.embedded.com/98/9811/9811fe3.htm
Category : How to make efficient code on an 8 bit mcu
Level : ALL

Programming Embedded Systems
http://www.le.ac.uk/engineering/mjp9/pes1ohp_a4.pdf
Category : Programming Embedded Systems (a 10 Week Course)
Basic Hardware / OS types / C coding
Level : ALL

The New C Standard
Category : Discuss C and Codingstandards in depth
Level : Advanced
http://theinquirer.net/?article=24092
http://www.knosof.co.uk/cbook/cbook.html

Programming Embedded Systems II
http://www.le.ac.uk/engineering/mjp9/pes2ohp_a4.pdf
Category : Programming Embedded Systems (a 10 Week Course)
RS485 / RS232 / I2C / Schedulers / CAN master/slave / etc.....
Level : Intermediate to Advanced

Using watchdog timers to improve the reliability
http://www.le.ac.uk/engineering/mjp9/mjpvp02.pdf
Category : Publication from the above author about using Watchdogs
Level : Intermediate to Advanced

Control And Embedded Systems
http://www.learn-c.com/
Category : Focused on controlling things with embeddec C.
Seems like a nice site with a lot of embedded examples in links on left side
Level : Beginners to Intermediate
Starts with basic electronics , then on to controlling ports in C

Interactive Digital Filter Design
http://www-users.cs.york.ac.uk/~fisher/mkfilter/
Category : Give desired parameters for a digital filter ,
and it will output C code for it (untested by me)
Level : Unknown

LC Filter Design
http://www-users.cs.york.ac.uk/~fisher/lcfilter/
Category : Give desired parameters for a LC filter ,
and it will draw schematic for it
Level : Unknown

Interactive Digital Phase Locked Loop Design
http://www-users.cs.york.ac.uk/~fisher/mkpll/
Category : Give desired parameters for a PLL filter ,
and it will draw schematic for it
Level : Unknown

Sampling: What Nyquist Didn't Say, and What to Do About It
http://www.wescottdesign.com/articles/S ... pling.html
Category : An advanced insight into Sampling
Level : Advanced

Algorithms for Programmers
http://www.jjj.de/
http://www.jjj.de/fxt/fxtbook.pdf


What Every Computer Scientist Should Know About Floating-Point Arithmetic
http://docs.sun.com/source/806-3568/ncg_goldberg.html
Category : A floating point in depth paper
Level : Advanced (masochist level)

A nice online TCP/IP guide
http://www.tcpipguide.com/free/index.htm
Index
http://www.tcpipguide.com/free/t_toc.htm
Category : Easy read guide about tcp/ip & lots of related things
Level : Easy read


------------------------------------------------------------------------------------


Last edited by Bingo600 on Jan 25, 2012 - 03:59 PM; edited 38 times in total
 
 View user's profile Send private message  
Reply with quote Back to top
theusch
PostPosted: Aug 23, 2004 - 08:58 PM
10k+ Postman


Joined: Feb 19, 2001
Posts: 28967
Location: Wisconsin USA

Category: Generic "Standard C" Reference
Level: All
http://www.acm.uiuc.edu/webmonkeys/book ... ction.html
http://www.acm.uiuc.edu/webmonkeys/book ... index.html

Quote:

This guide provides a useful look at the standard C programming language. ...It is merely a handy reference to the standard C library.
...
This guide is divided into two sections. The first part, "Language", is an analysis of the syntax and the environment. The second part, "Library", is a list of the functions available in the standard C library. ...
 
 View user's profile Send private message  
Reply with quote Back to top
c_oflynn
PostPosted: Aug 23, 2004 - 09:47 PM
Raving lunatic


Joined: Mar 23, 2001
Posts: 2091
Location: Halifax, NS

Category: Generic Standard C
Level: All except learning C

The actual ANSI C Reference can be purchased at:
http://webstore.ansi.org/ansidocstore/p ... 899%2D1999

If the link stops working it is document number INCITS/ISO/IEC 9899-1999. It costs $18, but is well worth it.

You would have trouble learning C from this document, but it is an extreamly good reference for writing/understanding other C programs I have found. Not for someone who needs something to learn the C language from, but great for someone who has another C book to go with this document (even if they are learning the C language).

I have attached the index of the file for reference.
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
Sonos
PostPosted: Aug 24, 2004 - 10:56 PM
Resident


Joined: Jan 22, 2004
Posts: 689


Absolute Beginner's Guide to C (2nd Edition)
by Greg Perry
Category: ANSI C
Level: absolute beginners!
ISBN: 0672305100

Embedded C Programming and the Atmel AVR
by Richard H. Barnett, Sarah A. Cox, Larry D. O'Cull
Category: AVR Embedded C; CodevisionAVR compiler specific
Level: beginner/intermediate

C Programming Language (2nd Edition)
by Brian W. Kernighan, Dennis Ritchie, Dennis M. Ritchie
Category: ANSI C
Level: int/advanced
Comment: Written by the developers of C, this new version helps readers keep up with the finalized ANSI standard for C while showing how to take advantage of C's rich set of operators, economy of expression, improved control flow, and data structures. This 2nd edition has been completely rewritten with additional examples and problem sets to clarify the implementation of difficult language constructs.

You can find them here
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
buffi
PostPosted: Sep 02, 2004 - 10:08 PM
Resident


Joined: Aug 24, 2001
Posts: 513
Location: Hamburg, Germany

I think www.avrbeginners.net should be mentioned here. Though I don't like it, I'll now "officially" advertise our website for the very first time. Many people ran across it and everybody understood what they had read. I think it's become a really good starting point for beginners.

Christoph

_________________
I tend to post off-topic replies when I've noticed some interesting detail.
Feel free to stop me.
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
refields
PostPosted: Oct 27, 2004 - 08:11 PM
Resident


Joined: Dec 21, 2001
Posts: 683
Location: Los Alamos, NM

One I just stumbled on and wish I had known about it before is the AVR Webring:

http://r.webring.com/hub?ring=avr

Some very cool stuff there.

Not C books but of general interest:

And another board that was mentioned here recently - the EDA Board:

http://www.edaboard.com/

Also check out the Circuit Cellar AVR Contest winners:

http://www.circuitcellar.com/avr2004/
 
 View user's profile Send private message  
Reply with quote Back to top
EW
PostPosted: Nov 09, 2004 - 10:01 PM
Raving lunatic


Joined: Mar 01, 2001
Posts: 5013
Location: Rocky Mountains

The Intel Hexadecimal Object File Format Specification:

http://www.xess.com/faq/intelhex.pdf
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
smileymicros
PostPosted: Nov 26, 2004 - 02:29 AM
Raving lunatic


Joined: Nov 17, 2004
Posts: 6496
Location: Great Smokey Mountains.

You can now get a great AVR microcontroller development board and C compiler for an unprecedented low cost. ATMELs Butterfly Evaluation Board is $19.99 at Digi-Key.com and the WinAVR C compiler is free. This combination replaces hardware and software that until recently would costs hundreds of dollars just for an entry level system. Now you can join the AVR club for pocket change.

To help you get started, download the free Quick Start Guide for Using WinAVR Compiler and ATMELs AVR Butterfly, a 30-page tutorial in .pdf format, from http://www.smileymicros.com.

This tutorial is an extract of the first two chapters of the book: ' C Programming for Microcontrollers Featuring ATMEL's Butterfly and the WinAVR Compiler' also available on the SmileyMicros website.

_________________
FREE TUTORIAL: 'Quick Start Guide for Using the WinAVR C Compiler with ATMEL's AVR Butterfly' AVAILABLE AT: http://www.smileymicros.com
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
Sceadwian
PostPosted: Nov 26, 2004 - 04:00 AM
Resident


Joined: Aug 04, 2003
Posts: 873


I'd recommend http://www.cs.virginia.edu/~lcc-win32/
Even if you have no intention of using the compiler, it's C-Tutorial is among the best I have ever read. It's an ANSI C implementation so learning to program in this is essentially learning to program using anything else. The tutorial is concise, easy to read and not too wordy. The PDF file is organized very well including plenty of code examples. Best of all, the compiler, the tutorial and even a healthy dose of extra goodies (Explanations on how to use a lot of Windows API's) are all available completley free of cost unless you're writing something for comercial use (in which case there are licensing feeds) I would recommend it to anyone with an interest in C programming, if for nothing other than a very good refrence.
 
 View user's profile Send private message  
Reply with quote Back to top
SteveN
PostPosted: Feb 09, 2005 - 08:56 PM
Raving lunatic


Joined: Nov 14, 2001
Posts: 3438
Location: Charlottesville, VA USA

Hi,

The below "Programming 101" post seems to be referred to posters several times a week (at least recently). I thought it might be helpful to include the link in this thread:

http://www.avrfreaks.net/index.php?name ... +101#40348

Regards,
Steve
 
 View user's profile Send private message  
Reply with quote Back to top
erickoberstar
PostPosted: May 03, 2005 - 04:57 PM
Rookie


Joined: Mar 13, 2001
Posts: 45
Location: Madison WI - USA

NASA C Programming Style Guide
http://sel.gsfc.nasa.gov/website/documents/online-doc/94-003.pdf

UIUC C Library Reference Guide
http://www.acm.uiuc.edu/webmonkeys/book/c_guide/index.html

C Tutorial
http://www.its.strath.ac.uk/courses/c/

I have a bunch more posted on my Lab's resource page including opamps, digital circuits, and controls tutorials.
http://mechatronics.me.wisc.edu/ -> Lab Resources

I had previously posted under the electronics section without seeing this thread - which is more appropriate.

Erick
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
Wulfinator83
PostPosted: May 12, 2005 - 08:45 AM
Hangaround


Joined: Jul 25, 2003
Posts: 216
Location: Austria, Europe

Also a good reference as I think is http://www.cplusplus.com/
Under reference you can find all standard libraries plus description.

best regards
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
slavko
PostPosted: Jun 01, 2005 - 06:43 PM
Hangaround


Joined: May 17, 2005
Posts: 165


Hi, I found some books

Quote:

Gracia Teleoperation Tutorial
This tutorial discusses a C++ program running on a host computer that uses the Garcia API to communicate with a Garcia robot. The program takes user input from a joystick or gamepad and converts it to motion commands that are sent across the serial link.

Pointers, References and Values New
Provides information about Passing Parameters, Returning Results, and Storing Member Variables with Musings on Good C++ Style.

Programming Tutorials
Contains C++ tutorials, as well as Denthor of Asphyxia's graphics tutorials converted to C++, several programming articles, and a new series on the Standard Template Library.


Roby's C/C++ Tutorial
Covers basic structure, constants, loops, functions, arrays, structs, unions, string manipulation, enumerated types, work in multiple modules, making header files, memory types, text, types, and untyped files.


Basic Input and Output with C++
In this lesson we will focus on using the keyboard as our input device and the monitor as our output device.


comp.lang.c FAQ list Table of Contents
This article is a table of contents for the comp.lang.c frequently-asked questions (FAQ) list, listing the questions which the abridged and full versions of the FAQ list answer.


All About: File I/O in C++
Starts with the very basis of File I/O (Input/Output) in C++ then looks into aspects that are more advanced, showing some tricks, and describing useful functions.


Programming in C
This is a set of notes on Programming in C.

C Programming FAQs
Contains answers to C questions in a vast array of subjects including arrays, pointers, library functions, memory allocation, standard input and output (stdio), and more.


How C Programming Works
Covers branching, looping, arrays, functions, libraries, text files, pointers, dynamic data structures, strings, operator precidence, and more.


http://www.techtutorials.info/cgen.html

enjoy Very Happy
 
 View user's profile Send private message  
Reply with quote Back to top
RickB
PostPosted: Jun 26, 2005 - 07:00 AM
Posting Freak


Joined: Jan 30, 2005
Posts: 1020
Location: Junction City, OR USA

Found a reference to this at Yahoo group AVR-Chat.
Hackers Delight, ISBN: 0201914654.
What may be the ultimate reference for manipulating and isolating bits and bytes with C or asm. Authors website and review from IBM Systems Journal, http://www.hackersdelight.org/.

Rick
 
 View user's profile Send private message  
Reply with quote Back to top
slavko
PostPosted: Jun 27, 2005 - 10:46 PM
Hangaround


Joined: May 17, 2005
Posts: 165


That book you can read on line
http://ebooks.servegame.com/addweshacdel/content.htm

and more books

http://ebooks.servegame.com
 
 View user's profile Send private message  
Reply with quote Back to top
c_oflynn
PostPosted: Jan 13, 2006 - 02:30 PM
Raving lunatic


Joined: Mar 23, 2001
Posts: 2091
Location: Halifax, NS

Hey,

Here is a C/C++ book available online:

http://www.engmath.dal.ca/courses/engm2282/notes/

-Colin

_________________
VA3 YHZ - http://www.newae.com
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
feralbeagle
PostPosted: Apr 25, 2006 - 11:57 PM
Hangaround


Joined: Dec 30, 2004
Posts: 134


This one changed my programming life. I own maybe 6 of the books that are listed above and have been through a lot of tutorials and I have never been able to grok C but now at least I know why I have not been able to understand some of C's problems. One of the reasons? C is written for people who write compilers not for people who write programs. If you know a little about C and you would like the next project to go smoother, then this is for you.

"Expert C Programming, Deep C Secrets"
Peter Van Der Linden
ISBN 0-13-177429-8

It also helps that the author is good writer and has a very approachable style. I have not seen this material in any other book.
 
 View user's profile Send private message  
Reply with quote Back to top
daqq
PostPosted: Sep 16, 2006 - 11:59 PM
Raving lunatic


Joined: Dec 15, 2003
Posts: 4417
Location: Slovakia, Bratislava

http://www.winprog.org/tutorial/

how to use the win api to create guis and stuff:-)

_________________
There are pointy haired bald people.
Time flies when you have a bad prescaler selected.
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
abcminiuser
PostPosted: Dec 22, 2006 - 06:27 AM
Moderator


Joined: Jan 23, 2004
Posts: 10215
Location: Melbourne, Australia

An old but rather good C FAQ:

Table of Contents
Actual FAQ

Contains over a hundred different C questions and answers, pretty much all of it relevant in some way to AVR development with C (although the FAQ focuses on no particular platform or compiler).

- Dean Twisted Evil

_________________
Make Atmel Studio better with my free extensions. Open source and feedback welcome!
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
a3v2r
PostPosted: Feb 12, 2007 - 02:01 PM
Wannabe


Joined: Jun 27, 2006
Posts: 81


USB AVR910 programmer - new ver.1.05

http://pinokio3000.narod.ru/my_designs/ ... er_eng.htm

Download new ver.1.05 17.01.2007

http://pinokio3000.narod.ru/my_designs/ ... r.1.05.rar

J3 - "LOW SCK" for lowing programming clock was added.
 
 View user's profile Send private message  
Reply with quote Back to top
lmc222
PostPosted: Oct 27, 2007 - 03:56 PM
Rookie


Joined: Sep 23, 2007
Posts: 22
Location: Brisbane, Australia

Easy to follow FREE course on the c language. This was very helpful for me.
http://www-ee.eng.hawaii.edu/~tep/EE160/Book/book.html

_________________
Lachlan

What we need to learn,
we learn by doing.
 
 View user's profile Send private message  
Reply with quote Back to top
kpschoedel
PostPosted: Aug 07, 2008 - 06:32 PM
Hangaround


Joined: Jun 30, 2008
Posts: 116
Location: Waterloo, Ontario, Canada

c_oflynn wrote:
The actual ANSI C Reference can be purchased at:
http://webstore.ansi.org/ansidocstore/p ... 899%2D1999

While the official published C standards must be purchased, the standards committee's working drafts are freely and legally available from their web site. The following is technically a draft of a future version, but the committee is not actually working on a future version, so it is for all practical purposes identical to the current standard plus errata:

WG14/N1336 Committee Draft August 11, 2008
Category: ANSI C
Level: intermediate/advanced


Also useful, and somewhat more readable, are the Rationale documents, which explain to some extent why the standards committee made the choices they did.

C89 Rationale
C99 Rationale
Category: ANSI C
Level: intermediate/advanced


(Edit: updated link to latest draft.)
 
 View user's profile Send private message  
Reply with quote Back to top
Klave
PostPosted: Apr 20, 2009 - 06:02 PM
Hangaround


Joined: Mar 24, 2006
Posts: 194
Location: Canada

Code:
Computational Physics:
An introductory course   
 
Richard Fitzpatrick
Associate Professor of Physics
The University of Texas at Austin


Seems to focus on C and C++, not really for the noobs
Content is mostly algorithms or methods useful for physicists but starts off with a good chunk about c.

Klave
 
 View user's profile Send private message  
Reply with quote Back to top
theusch
PostPosted: Apr 20, 2009 - 11:45 PM
10k+ Postman


Joined: Feb 19, 2001
Posts: 28967
Location: Wisconsin USA

Quote:

Computational Physics:
An introductory course

Richard Fitzpatrick

http://farside.ph.utexas.edu/teaching/3 ... tures.html
 
 View user's profile Send private message  
Reply with quote Back to top
Klave
PostPosted: Apr 21, 2009 - 02:11 AM
Hangaround


Joined: Mar 24, 2006
Posts: 194
Location: Canada

Oops, thanks for the link,

GK
 
 View user's profile Send private message  
Reply with quote Back to top
jayjay1974
PostPosted: Sep 07, 2009 - 06:44 PM
Raving lunatic


Joined: Oct 30, 2002
Posts: 5768
Location: The Netherlands

http://www.e-booksdirectory.com/programming.php
 
 View user's profile Send private message  
Reply with quote Back to top
abcminiuser
PostPosted: Nov 13, 2009 - 02:51 AM
Moderator


Joined: Jan 23, 2004
Posts: 10215
Location: Melbourne, Australia

The venerable cdelc tool (for converting between C and natural english for declarations) has been put online:

http://www.cdecl.org/

Type in
Code:
char (*(*x[3])())[5]
for example and have it spit out
Quote:
declare x as array 3 of pointer to function returning pointer to array 5 of char
. Handy for those complex C function pointer definitions people have trouble with.

- Dean Twisted Evil

_________________
Make Atmel Studio better with my free extensions. Open source and feedback welcome!
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
senorita
PostPosted: Dec 17, 2009 - 11:46 AM
Newbie


Joined: Jun 26, 2009
Posts: 7


Hey i liked the books that you suggested for the programming i.e, especially for C & C++. But i wish to include here few more list in it. DOEACC O and A Level Programming& Problem Solving Through" C" Language, this is a good book. Indeed it helped me a lot.
 
 View user's profile Send private message  
Reply with quote Back to top
saeed450
PostPosted: Mar 05, 2010 - 10:21 AM
Newbie


Joined: Mar 05, 2010
Posts: 16


thx very much

_________________
my english isnt good !! use easy words pls !!
 
 View user's profile Send private message  
Reply with quote Back to top
AMKhan
PostPosted: Apr 26, 2010 - 07:22 AM
Newbie


Joined: Jan 19, 2009
Posts: 9
Location: 33.688�N 73.035�E

AVR Project Book

http://www.digisoft.com.pk/products/avr-project-book/AVRProjectBook.pdf
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
asiful
PostPosted: Apr 26, 2010 - 06:54 PM
Newbie


Joined: Jul 15, 2009
Posts: 4


a3v2r wrote:
USB AVR910 programmer - new ver.1.05

http://pinokio3000.narod.ru/my_designs/ ... er_eng.htm

Download new ver.1.05 17.01.2007

http://pinokio3000.narod.ru/my_designs/ ... r.1.05.rar

J3 - "LOW SCK" for lowing programming clock was added.
i want count adc value after one second continously. but my c code does not work can you help me?
 
 View user's profile Send private message  
Reply with quote Back to top
clawson
PostPosted: Apr 26, 2010 - 08:00 PM
10k+ Postman


Joined: Jul 18, 2005
Posts: 71191
Location: (using avr-gcc in) Finchingfield, Essex, England

asiful,

In what way is the post you just made a suggestion for an online book or tool (the subject of this thread)? What you have performed is called a "thread hijack" and does nothing but piss people off. Tell me the name of the thread you want created to ask your question (perhaps something like "newbie hasn't got the first idea about ADC" ?) and I will split your hijack off this thread and give it your chosen name.

Moderator.

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
JohanEkdahl
PostPosted: Apr 26, 2010 - 08:01 PM
10k+ Postman


Joined: Mar 27, 2002
Posts: 22026
Location: Lund, Sweden

asiful!

STOP hijacking threads that has no connection to your question. DO start your own thread instead. DO that in the correct forum regarding your question.

When wanting to start a new thread (a new line of conversation on a specific subject) use the new topic button (not the new reply button - that is for answering in an existing thread).
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
clawson
PostPosted: Apr 26, 2010 - 08:08 PM
10k+ Postman


Joined: Jul 18, 2005
Posts: 71191
Location: (using avr-gcc in) Finchingfield, Essex, England

Maybe someone should have written a thread to say exactly how to ask intelligent questions?

....


Oh, wait a minute, they did:

Help my "..." doesn't work

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
regehr
PostPosted: Jun 13, 2010 - 09:24 PM
Newbie


Joined: Dec 18, 2006
Posts: 3


This thread is great. Please consider adding a great article "Getting the Least out of Your C Compiler":

http://user.it.uu.se/~jakob/publication ... f-2001.pdf

I teach embedded systems classes and have students read it every time.
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
tlucas
PostPosted: Oct 29, 2010 - 06:40 AM
Resident


Joined: Jan 23, 2010
Posts: 840
Location: Edmonton, Alberta

Here are two fantastic lists from stackoverflow.com:
What is the single most influential book every programmer should read?
List of freely available programming books
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
the_engineer
PostPosted: Feb 07, 2011 - 10:07 AM
Newbie


Joined: Jan 12, 2011
Posts: 6


There is a free e-book on getting started with Atmel devices using Linux available from http://www.sylvaniabooks.webfreehosting.net/
 
 View user's profile Send private message  
Reply with quote Back to top
bigpilot
PostPosted: Jul 27, 2011 - 11:21 PM
Wannabe


Joined: Oct 08, 2005
Posts: 98


This is one I higly recommend for beginners:

http://mindview.net/CDs/ThinkingInC/beta3

It's a downloadable HTML flash slideshow with audio commentary. It's almost like you're sitting in a classroom. I rarely see this novel way of presenting educational material on the web. It also takes up a lot less hard disk space then, say, a video presentation.


Last edited by bigpilot on Jul 28, 2011 - 01:11 PM; edited 2 times in total
 
 View user's profile Send private message  
Reply with quote Back to top
RickB
PostPosted: Apr 16, 2012 - 02:07 AM
Posting Freak


Joined: Jan 30, 2005
Posts: 1020
Location: Junction City, OR USA

Pelles C. A free compiler.

http://www.smorgasbordet.com/pellesc/
 
 View user's profile Send private message  
Reply with quote Back to top
GeococcyxC
PostPosted: Feb 19, 2013 - 03:00 PM
Hangaround


Joined: Feb 19, 2013
Posts: 100
Location: United States

It has been explained to me that the tutorial formerly linked in this post is no good, so I have removed it. Thank the people who would much rather sh1t on someone trying to help, than to help.


Last edited by GeococcyxC on Mar 21, 2013 - 12:40 AM; edited 1 time in total
 
 View user's profile Send private message  
Reply with quote Back to top
dewsworld
PostPosted: Feb 21, 2013 - 10:44 AM
Rookie


Joined: Aug 07, 2012
Posts: 27
Location: Bangladesh

Micro controller related tutorial. Written in Bengali language.
http://jontropati.com

Translated, http://translate.google.com/#bn/en/http%3A%2F%2Fjontropati.com
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
Thiyagarajan
PostPosted: Nov 20, 2013 - 11:28 AM
Newbie


Joined: Nov 20, 2013
Posts: 1


C language tutorial
This free online website will be very useful for students who are beginners for
C programming.

* All topics are explained very clearly and in very easy way to understand.
* Easy navigation through all topics
* Simple example programs and output
* Real time application programs with source code[/url]
 
 View user's profile Send private message  
Reply with quote Back to top
JohanEkdahl
PostPosted: Nov 20, 2013 - 01:42 PM
10k+ Postman


Joined: Mar 27, 2002
Posts: 22026
Location: Lund, Sweden

Quote:

All topics are explained very clearly

I browsed the few first pages of your tutorial, and found some questionable stuff.

Examples:

In the page "C – Basic Program" there is a table named "Description for each section of a C program". It implies that the different constructs mentioned must be lumped together and ordered as in that table. This is wrong - C does not imply any of that lumping together or ordering (C implies some order of thingsorder, but not the one you describe).

On the page "C – Printf and Scanf" you write
Quote:
[printf and scanf] functions are declared and defined in “stdio.h” [..].

This is partly wrong. They certainly are declared there, but they are not defined there (at least not necessarily, and not in any implementation of libc that I have seen).

It is also notable that while you point out that C is case sensitive (the actual formulation of yours is "All functions in C are case sensitive" which is too nerrow - it's not only functions but the whole langage) you spell them with a capital first letter in the heading of the page.

I stopped there for the time being.

-----

For anyone actually venturing into reading the tutorial as a whole I suggest you do it with a browser with ad blocking. E.g. Firefox with AdBlock+.

_________________
"Some questions have no answers."[C Baird]
"There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson]
"There are always ways to disagree, without being disagreeable."[E Weddington]
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits