USB programming

  • Thread starter Thread starter EdgarBM
  • Start date Start date
E

EdgarBM

Hi all,
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!! ;)

Do you know anyway to begin?

Thank you in advance,
Edgar
 
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.
 
see my answer I gave you in your other thread in which you asked the same
question.

J
 
It took them 5 years to add the SerialPort class to .NET (will be there in
2.0 Framework, scheduled for 2005 with Whidbey), so for USB I'd say check
back in 2010.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top