Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Thread Tools Display Modes
Old 15th October 2007, 05:36 AM   (permalink)
Default program PIC using C language

i am facing a problem. dunt know how to program coding in the PIC. can u provide the step and sample.
shen_gks is offline   Reply With Quote
Old 15th October 2007, 05:38 AM   (permalink)
Default

Have to tried google?
The Sad Truth is... is offline   Reply With Quote
Old 15th October 2007, 05:43 AM   (permalink)
Default

try already. but not too detail. can u provide me the direct way. please
shen_gks is offline   Reply With Quote
Old 15th October 2007, 06:09 AM   (permalink)
Default

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.
ssylee is offline   Reply With Quote
Old 16th October 2007, 03:24 AM   (permalink)
Default

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
donniedj is offline   Reply With Quote
Old 16th October 2007, 05:35 PM   (permalink)
Default

Please take a look at the Elmer 160 tutorial...
Mike, K8LH is online now   Reply With Quote
Old 16th October 2007, 05:43 PM   (permalink)
Default

Quote:
Originally Posted by shen_gks
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
__________________
Learning is a life-long process...

Last edited by GraveYard_Killer; 16th October 2007 at 05:45 PM.
GraveYard_Killer is offline   Reply With Quote
Old 17th October 2007, 04:01 PM   (permalink)
Default

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.
__________________
I thought what I'd do was I'd pretend I was one of those deaf-mutes.
Oznog is offline   Reply With Quote
Old 17th October 2007, 04:16 PM   (permalink)
Default

You could also try MikroC. There are some limitations, such as program length of 2K words.
superbrew is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
Question about Inchworm+ Quan Micro Controllers 54 28th October 2007 12:20 AM
TX_test program in PIC C flemmard Micro Controllers 6 30th September 2007 11:21 AM
Assembly Language - My program keeps on restarting avinsinanan Micro Controllers 3 15th April 2005 04:23 AM
PicBasic Keypad program Sora Micro Controllers 0 20th April 2004 07:01 PM
I need help to program in C language a timer0 interruption Pat-21 Micro Controllers 1 8th May 2003 01:17 PM



All times are GMT. The time now is 04:49 PM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.