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.

program PIC using C language

Status
Not open for further replies.
Deciding on the IDE and compiler/builder as well as the programmer circuit would be a good start. Try googling around to find the one that you like.
 
Get familiar with www.microchip.com Stay around the Design area. What you need is from the followings, not directly but its all provided free.
Development Tools
Software Libraries
Code Examples
 
shen_gks said:
try already. but not too detail. can u provide me the direct way. please

find a C compiler. you can try MPLAB c18 student version for PIC18 or try mikroC(evaluation version) or any compiler you may want to try out.

this compiler have help in them and they have sample codes. try doing the most simple example i.e.: toggling a PORT either using LED or checking on an oscilloscope. after being successful with that, further read the compilers help to gain familiarity on the compiler.

hope this helps
 
Last edited:
Microchip has the free MCC18 compiler for their 18F series. The 24/30/33 series also have a free Microchip compiler.

The 16F is not an especially C-friendly core. Microchip does not offer a compiler. HTSoft does have a 16F compiler but its performance might not be that great in terms of speed and code size due to the architecture of the 16F core. HTSoft also has 18F and higher compilers, but they're not free. There's a bunch of other guys making compilers too, some of them doing 16F ones.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top