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 support@ccsinfo.com

PIC18F with usb

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







PIC18F with usb
PostPosted: Fri Jun 19, 2009 8:28 am     Reply with quote

Hi all,
I am using CCS (ex_usb_hid.c) example to connect my PIC18F to PC. Could anyone tell me how to change the VID and PID?

Thanks a lot,
Laughing Laughing Laughing
Ttelmah
Guest







PostPosted: Fri Jun 19, 2009 10:11 am     Reply with quote

These are part of the device descriptor.
usb_desc_hid.h

Search for 'device descriptor'. Bytes 9,10,11 & 12 of the descriptor.

Best Wishes
Amr_Pic
Guest







Thx
PostPosted: Sat Jun 20, 2009 8:53 am     Reply with quote

Dear thank you very much for your reply
Very Happy Very Happy 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