Page 1 of 1
Posted: Wed Jan 25, 2012 10:57 am
can i use programming language C to program PIC microcontrollers and develop apps or is there different languages for each
what language did u use to develop your app
Posted: Thu Mar 08, 2012 10:16 pm
You cannot use C for programming 8 bit Microchip controllers. There "might" be a third party C compiler available that will compile to the 8 bit Microchips, but none that I know of personally.
Microchip has a C compiler available for the 16 bit and 32 bit microcontrollers. Here is a "quick guide" to some of their development tools and it explains a little more about the C compiler they offer (called Hi-Tech C).
http://ww1.microchip.com/downloads/en/D ... 51894a.pdf
Posted: Tue Mar 20, 2012 8:21 pm
Sorry for being so late to the discussion!
You can program 8-bit pics in C. (Come on Stacy - what you talkin' about!)
Check out this link for help with programming an 18f4550
http://www.pic18f.com/18f4550-c-tutoria ... gram-in-c/
Posted: Wed Jun 14, 2017 4:24 pm
I'm all the more late to the discussion.
The PIC16's (at least those before PIC16F1's) were very poorly suited to C. There were just too many problems with it. It's possible Microchip or a third party tried to make a C compiler for them (I don't know), but I imagine it would have some pretty severe limitations. The PIC18's added a lot of things (kludges actually, but they worked) to the PIC16's to make an 8-bit PIC that was better suited for C. However, I think assembly language, with a good set of macros to raise the level of the language, is as desirable as C, if not more so, for the applications the PIC16's tend to get used for.
The PIC18's, 24's, and 32's are much better suited to C than the 16's.