PIC18F45K20 [Demo Board] Sample Code in MPLAB Sim

Status
Not open for further replies.

Anantha Krishna

Member level 1
Joined
Feb 10, 2011
Messages
41
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
1,642
Hi All,

I have started to PIC18F45K20 Demo Board that comes with PICKIT 3.

I am trying to use MPLAB IDE with PIC18F Hitech Compiler Lite Mode.

When I am using the following statement:

#include <pic.h>

it is giving following error:

Error [141] Q:\Projects in Hand\Strain Measurement-StrainM\Product Platforms\Platform 1- PS081+pic based\Model-4 Platform\Platform Codes\PIC Codes\18F\test1.c; 7.16 can't open include file "pic.h": No such file or directory


Please let me know about this error. I have worked with PIC16F887 Controller and used the same .h file. I am new to 18F series.

Please someone give a simple code for MPLAB to begin working on this Controller.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…