View previous topic :: View next topic |
Author |
Message |
biozit
Joined: 31 Dec 2010 Posts: 3 Location: BR
|
16F628A.h |
Posted: Fri Dec 31, 2010 10:23 am |
|
|
Hi ,
I trying to program PIC16F628A using C.
When i try to compile with ccs c, the output show:
can't find the #include <16F628A.h>.
Where i can find this include ?
Thnaks. |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19504
|
|
Posted: Fri Dec 31, 2010 10:29 am |
|
|
Comes with the compiler, _if_ your compiler has support for the chip.
Four possibilities:
1) You have a very old compiler without support for this chip. You would need to upgrade.
2) You have a demo version compiler - this won't have support for this chip, you would have to buy the full version.
3) You have the wrong compiler 'version'. For instance, PCH, won't have support for this chip - requires PCM.
4) Your compiler is incorrectly installed.
Best Wishes |
|
|
gpsmikey
Joined: 16 Nov 2010 Posts: 588 Location: Kirkland, WA
|
|
Posted: Fri Dec 31, 2010 10:55 am |
|
|
If none of the answers above address the issue, if you did a normal install, I believe you would find all the device .h files in "C:\Program Files\PICC\Devices"
mikey _________________ mikey
-- you can't have too many gadgets or too much disk space !
old engineering saying: 1+1 = 3 for sufficiently large values of 1 or small values of 3 |
|
|
|