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

PIC10F200....do you know where i get the header file for it?

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



Joined: 18 Jul 2012
Posts: 21

View user's profile Send private message

PIC10F200....do you know where i get the header file for it?
PostPosted: Wed Jul 18, 2012 9:02 am     Reply with quote

Hello,

I am using PIC10F200 with CCS compiler.

I know the C language, but am new to CCS compiler.

Please could you tell me where i get the PIC10F200 header file, and also tell what syntactical expressions i need at the top of the code to allow the CCS compiler to do its thing on my code?
Gabriel



Joined: 03 Aug 2009
Posts: 1067
Location: Panama

View user's profile Send private message

PostPosted: Wed Jul 18, 2012 12:59 pm     Reply with quote

Quote:
CCS compiler.


yeah... but which one? what revision?

Depending on the above you may or may not have the header file or the ability to compile code for it.

G.
_________________
CCS PCM 5.078 & CCS PCH 5.093
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Jul 18, 2012 2:34 pm     Reply with quote

The PCB compiler comes with MPLAB for free. It's a "Third Party"
application that you can install when you install MPLAB. Download
MPLAB IDE vs. 8.86:
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en019469&part=SW007002
To see the CCS compiler files, navigate to this directory. Look for the
Devices folder. It has the .h files.
Quote:
c:\program files\microchip\third party\PICC


The program below shows the lines that you need at the start:
Code:

#include <10F200.h>
#fuses NOWDT, NOMCLR, NOPROTECT
#use delay(clock=4M)

//=================================
void main()
{

 
while(1);
}
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