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

USB library in CCS

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



Joined: 27 Jan 2015
Posts: 25

View user's profile Send private message

USB library in CCS
PostPosted: Sat Jan 31, 2015 4:48 am     Reply with quote

How to use CCS built in USB Lib with PIC1F2550 ? is it enough to start such project ?
temtronic



Joined: 01 Jul 2010
Posts: 9176
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sat Jan 31, 2015 6:10 am     Reply with quote

yes, I know the CDC version works very well...
start by getting your PIC to run a '1Hz LED' program,then try the CDC USB program.
Please be sure to read the comments in the beginning of the programs though !

Jay
camp david



Joined: 27 Jan 2015
Posts: 25

View user's profile Send private message

PostPosted: Sat Jan 31, 2015 8:07 am     Reply with quote

thanx jay..
what's the cdc ?
how to use it in pic18f2550 project
Ttelmah



Joined: 11 Mar 2010
Posts: 19375

View user's profile Send private message

PostPosted: Sat Jan 31, 2015 9:32 am     Reply with quote

USB Communications Device Class.

It's the standard 'class' used for USB devices like serial ports, or network adapters.

CCS supply examples ex_usb_serial, ex_usb_serial2. ex_usb_serial3. These show basic operations with the CDC class as a serial emulation, so you can connect using SIO, hyperterm etc., on Windows to the PIC device, and does some basic things like echoing a character back.
camp david



Joined: 27 Jan 2015
Posts: 25

View user's profile Send private message

PostPosted: Sat Jan 31, 2015 11:40 am     Reply with quote

Thank you much for informative reply Smile
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