Sonsivri

Electronics => Pic C Languages => Topic started by: Josivan on February 17, 2008, 05:30:09 17:30



Title: Booting Programming well into C CCS....
Post by: Josivan on February 17, 2008, 05:30:09 17:30
 ??? ??? ???Hello personel , I am initiating programming as of PIC well into CCS and i should like from the he helps from the tourmaline , some he knows some Site Mill decent along examples as of CCS for its PIC? Welcomes the assistance OK Francisco Josivan  ??? ??? ??? ???


Title: Re: Booting Programming well into C CCS....
Post by: OleRuffo on February 21, 2008, 04:28:19 04:28
Hi francisco:
The best, easiest, funniest and nonsense way to start with PICS or any other micro controller is when you can see the results
some cheap PIC, some colorfull leds, some resistors and the needed hardware to bring to life this little beast.
you can get the main part of the program structure via the CCS wizards and then, by example, put a word over a port, lets say. 10101010b and connect 270 ohms to the port and then the leds ( if you want to go safe you can use a darlington array chip before, but the PICS can sink up to 20 mA per lead, the use the delay function and the change the word or make a roll or whatever you want, i know that this is very very simple and not util at all but you will start to "feel" the software and the hardware at the same time and this simple circuit can be mounted in a protoboard in a snap. ;D
Hope this helps as a start point for you. and then you can complicate the design more and more as long as you learn the functions, and the capabilities of your chosen PIC. ;)
Cheers
 


Title: Re: Booting Programming well into C CCS....
Post by: TigerX on February 21, 2008, 08:17:00 08:17
Hi...

You can search Web by  google, you will find a lot of site giving ccs examples. But some of them same. You must search deeply...


Title: Re: Booting Programming well into C CCS....
Post by: mayler on February 22, 2008, 04:37:10 04:37
The forum of ccs have some interesting examples.
MicrochipC have many HITECH C source codes... When you have more knowledge of Programming, you can adapt them to CCS.

http://www.ccsinfo.com/forum/ (http://www.ccsinfo.com/forum/)
www.microchipc.com (http://www.microchipc.com)