546Views3Replies

Author Options:

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

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#

Tags:c

4 Replies

user
Josehf Murchison (author)2014-04-01

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.

Select as Best AnswerUndo Best Answer

user
isalhi (author)Josehf Murchison2014-04-02

how can I download the code of the net ?

Select as Best AnswerUndo Best Answer

user
steveastrouk (author)2014-04-01

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.

Select as Best AnswerUndo Best Answer