View previous topic :: View next topic |
Author |
Message |
camp david
Joined: 27 Jan 2015 Posts: 25
|
USB library in CCS |
Posted: Sat Jan 31, 2015 4:48 am |
|
|
How to use CCS built in USB Lib with PIC1F2550 ? is it enough to start such project ? |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9290 Location: Greensville,Ontario
|
|
Posted: Sat Jan 31, 2015 6:10 am |
|
|
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
|
|
Posted: Sat Jan 31, 2015 8:07 am |
|
|
thanx jay..
what's the cdc ?
how to use it in pic18f2550 project |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19612
|
|
Posted: Sat Jan 31, 2015 9:32 am |
|
|
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
|
|
Posted: Sat Jan 31, 2015 11:40 am |
|
|
Thank you much for informative reply |
|
|
|