PIC18f46K22 Header File

Status
Not open for further replies.

arsalanarm

Junior Member level 3
Joined
Sep 1, 2012
Messages
30
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Visit site
Activity points
1,676
hi guys
i have a question about pic18f46k22 please guide me.
i want to write program in c for pic18f46k22 using mplab ide and c18 compiler but c18 doesn't have p18f46k22.h file.
i found this file in web and i copied this file in C:\mcc18\h but problem doesn't solve mplab say:Unknown processor '18F46K22'
please help.
thank you very much
;-)
 

hello,

I am using also 18F46K22 with MPLAB 8.92 and C18 V3.45 .. no problemo
are your paths correct in your project...

Code:
project
          Build options
                   project

             directories
                  inlude Search Path
                          C:\Program Files\Microchip\mplabc18\h        <- standard location
                          c:\mcc18\h                                             <- add your own location
                  library Search path   
                          C:\Program Files\Microchip\mplabc18\lib   
                  linker Script Search path
                          C:\Program Files\Microchip\mplabc18\bin\LKR
 

hi
thank you very much
i download c18 v3.45 and problem is solved
best regards
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…