Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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! :D
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top