can any on esuggest how to program a PIC16F84 using C

Status
Not open for further replies.

subrat nayak

New Member
can any on esuggest how to program a PIC16F84 using C

ie all the steps from

writing code in c
converting to hex code
loading on to the pc: hardware and software required


subrat
 
Basically it depends on what C compiler you buy, and if it's a DOS or Windows compiler.

If you use the MicroChip C compiler, and their PICStart+ programmer, it's all done from within MPLAB.
 
if you have some knowledge of programming in C with PCs then you will be up and running in no time. just study the documenatation of your compiler and see the example programs that it comes with and start writing codes yourself. the compiler will generate the hex code which can be used to burn on the chip.

there are a number of C compilers for PIC micros out there. namely IAR (very very very expensive), Hitech's PICC, CCS C and mikroC (its going to be released on the 7th of Feb this year)

all compilers have a code size limited trial version available that can be downloaded from their site. search on google for more info and go to the following link

https://www.microchipc.com
 
There's a 'student' version of microchip's C18 available on their website. That pretty much works great!
 
jfunkie said:
There's a 'student' version of microchip's C18 available on their website. That pretty much works great!

yes i forgot to mention that. i believe it is a 60 day trial. it continues to work after 60 days but the optimizations are disabled (not a big deal for a hobbyist!)
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…