hey brad
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
language
Moderators: Chuckt, Garth, bitfogav
- sdudley
- Moderator
- Posts: 337
- Joined: Sun Mar 28, 2010 1:33 pm
- Location: Florida, U.S.A. [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: language
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
Stacy
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
Stacy
Any time you deviate from sequential consistency, you increase the complexity of the problem by orders of magnitude.
- brad
- Site Admin
- Posts: 2578
- Joined: Fri Mar 26, 2010 10:30 pm [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: language
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/
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/
Re: language
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.
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.
http://WilsonMinesCo.com/ lots of 6502 resources
Who is online
Users browsing this forum: No registered users and 5 guests