Hi,
Can anybody tell me that how i can communicate with the USB port ?i want to make a simple program (at that time) in the visual studio c# ,such program has ability to on/off the LED connected to the USB port. Please guide me..........
The simplest way I know is to use one of USB->Serial or USB->Parallel converter chip manufactured by FTDI (www.ftdichip.com). It's hardware part.
In Your PC software You can use library (FT2XX.dll or FT2XX.lib) to send something to this chip. Driver (with libraries) You can download from manufacturer website.
Another way is to use microcontroller with USB interface built-in but this is harder because You should write also some code for microcontroller.
At last, You can use microcontroller without embedded USB interface, but You should write code with software implemented USB. In this case your microcontroller has to work fast and probably You have to write firmware using assembler.
Thanks........i use visual studio C#.net 2005.........can i use the library (FT2XX.dll or FT2XX.lib) in C#.net programing? if yes... then how?
Can i control the microcontroller through the USB in Visual Studio C# .Net?
Please give some Hints.......