CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Pic18f2331

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
hisham.i



Joined: 22 Aug 2010
Posts: 43

View user's profile Send private message

Pic18f2331
PostPosted: Sun Aug 22, 2010 1:07 pm     Reply with quote

Hello,
Am using pic18f2331, while am writing my code in mplab, and defining the microcontroller using:
#include<18f2331.h>
the compiler gives the following error :

*** Error 24 "C:\Program Files (x86)\PICC\devices\18F2331.H" Line 2(9,19): Unknown device type -- Try PCH
1 Errors,
what should i do to fix this error?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun Aug 22, 2010 1:30 pm     Reply with quote

1. Make sure you actually have the full PCH compiler installed on your
system. (The CCS demo only supports a few PICs - don't use the demo
as a general purpose compiler. Get the real compiler).

2. Read this CCS tutorial which explains how to install the CCS plugin
and how to create an MPLAB project:
http://www.ccsinfo.com/faq.php?page=ccs_mplab
hisham.i



Joined: 22 Aug 2010
Posts: 43

View user's profile Send private message

PostPosted: Sun Aug 22, 2010 11:04 pm     Reply with quote

Thank you, it works properly Very Happy
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group