View previous topic :: View next topic |
Author |
Message |
doc37324
Joined: 19 Dec 2010 Posts: 1
|
Want to learn how to program |
Posted: Sun Dec 19, 2010 1:22 pm |
|
|
Anyone want teach me the basics of C programming. I have all the tool/kits and software. Is there section where new people hang? If so post me a link.
Want to learn how flash led, work with 7 seg displays, and use the software package.
doc37324 |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
|
Bill Legge
Joined: 07 Sep 2010 Posts: 24 Location: West Australia
|
Learning C |
Posted: Sun Dec 19, 2010 6:43 pm |
|
|
I'm about a month into 'C' and the some of the best resources I've found:
1. This forum, particularly the 'code' section where I've been able to download other members code and pick it apart to learn.
2. The book 'The C programming language' by Kerrigan and Ritchie. Watch out the book is about ANSI 'C' and CCS has some differences but it's still an excellent book.
3. Various books published by 'Newnes'. One of them 'Programming 8-bit PIC microcontrollers in C' by Bates focuses on the CCS compiler. Adds good explanations of the inner workings of PIC MCUs.
4. The Microchip website - essential for the reference manuals on the various chips
4. I've come from a few years of using a BASIC compiler (ME Labs PicBasicPro) and don't think I would be up to learning C without this previous experience?
Good luck. Bill legge _________________ Denmark in West Australia
'Where the forest meets the sea' |
|
|
gpsmikey
Joined: 16 Nov 2010 Posts: 588 Location: Kirkland, WA
|
|
Posted: Sun Dec 19, 2010 6:59 pm |
|
|
Not sure what you have for tools etc, but consider the Pickit2 or 3 from Microchip as a simple platform to experiment and learn on. I find the PicKit2 starter kit a handy experimental platform.
http://www.microchipdirect.com/productsearch.aspx?Keywords=DV164120
The C book by K&R is good, but a "bit" dry - it can cure insomnia ! Recognize that the CCS compiler has a number of enhancements to make it easier to talk to the hardware etc
mikey _________________ mikey
-- you can't have too many gadgets or too much disk space !
old engineering saying: 1+1 = 3 for sufficiently large values of 1 or small values of 3 |
|
|
SherpaDoug
Joined: 07 Sep 2003 Posts: 1640 Location: Cape Cod Mass USA
|
|
Posted: Mon Dec 20, 2010 2:47 pm |
|
|
The C programming language by Kerrigan and Ritchie, commonly referred to simply as K&R, is THE ultimate authority on the C language. All C programmers should have one as a reference. _________________ The search for better is endless. Instead simply find very good and get the job done. |
|
|
|