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

USB COMMUNICATION WITH PIC18F85J50

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



Joined: 04 Jun 2011
Posts: 3

View user's profile Send private message

USB COMMUNICATION WITH PIC18F85J50
PostPosted: Sat Jun 04, 2011 9:05 am     Reply with quote

I'm beginning to study USB communication with PIC18F85J50. I found a basic code on the web, but it shows me errors when I compile it because it doesn't not recognize the files usb.h which is called in the file pic18_usb.h and in the file usb_desc_scope.h which is in charge of numerate. Where can I get the file usb.h ?? The code starts with:

Code:

#include <18F85J50.h>
#fuses  NOWDT,PLL1,STVREN,NOXINST,NODEBUG,NOCPUDIV,PROTECT,INTRC,FCMEN,NOIESO,NOEASHFT,MCU,NOWAIT

#include <pic18_usb.h>
#include "usb_desc_scope.h"
#include <usb.c>

_________________
JOE NASSAR
Ttelmah



Joined: 11 Mar 2010
Posts: 19504

View user's profile Send private message

PostPosted: Sat Jun 04, 2011 2:27 pm     Reply with quote

The files come with the compiler.

Best Wishes
jnassarm



Joined: 04 Jun 2011
Posts: 3

View user's profile Send private message

PostPosted: Sun Jun 05, 2011 10:47 am     Reply with quote

Thanks for your response. My compiler shows error because these files are missing. I am working with a demo of the CCS C COMPILER . Does not this demo include these files??
_________________
JOE NASSAR
Ttelmah



Joined: 11 Mar 2010
Posts: 19504

View user's profile Send private message

PostPosted: Sun Jun 05, 2011 2:29 pm     Reply with quote

Correct.
Only 15% of the drivers and examples come with the demo. None of the more complex ones.

Best Wishes
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