On Wed, 9 Jun 2004 00:22:16 -0700, "EdgarBM"
<an*******@discussions.microsoft.com> wrote:
I want to get some sample code or good tutorial to program
the USB port.
I just want to use the USB port like I could make with a
serial port or an ethernet port (I think that with USB it
will be the combination of both), just to send and receive
information in an assyncronous way. It's easy!! ;)
You can't use it like it's a serial port as whatever is on the
other end must comply with the USB protocol. Have a look at the
datasheet for the PIC16C745, that's something you can use on the other
end. IIRC there is an example of both the host software and device
software on Microchip's website (
www.microchip.com). You can get the
chips from
www.digi-key.com, but the programmer for the chip will set
you back a bit.