CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Want to learn how to program

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
doc37324



Joined: 19 Dec 2010
Posts: 1

View user's profile Send private message

Want to learn how to program
PostPosted: Sun Dec 19, 2010 1:22 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Sun Dec 19, 2010 1:32 pm     Reply with quote

This is not a C learning forum. You need to study the C language outside
of the forum. Once you know the C language, if you need help with
the CCS C compiler, then this forum can help you.

Here is a tutorial for the CCS compiler:
http://harfordhackerspace.org/2010/02/programming-pic-microcontrollers-in-c/

Here are more tutorials on the C language:
http://www.learn-c.com/
http://phy.ntnu.edu.tw/~cchen/ctutor.pdf

Use Google to search for this, and maybe you will find several
more C tutorials:
Quote:

C language embedded tutorial -scribd
Bill Legge



Joined: 07 Sep 2010
Posts: 24
Location: West Australia

View user's profile Send private message

Learning C
PostPosted: Sun Dec 19, 2010 6:43 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Sun Dec 19, 2010 6:59 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Mon Dec 20, 2010 2:47 pm     Reply with quote

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.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group