how to generate a signal (pulse) with c# using usb port

for my application , I need to generate a signal wich contains 2 pulses , 1 of 150 ms and the other of 427 ms , seperated with a duration of X ms , using the usb port of my computer and c#

We can help you better if you tell us why such as a USB Morse code transmitter which you can download the code off the net.

isalhi (author)  Josehf Murchison3 years ago

how can I download the code of the net ?

You need an interface to the USB port, I don't think you can bit-bang the port pins. Try and find the FTDI FT232R chip - bitbanging that is fairly simple. Your bigger problem is this is a hard real-time problem, and system latency might stop you doing it.