Re: OT: How to detect a keypress, and in which language?
On Tue, Jan 22, 2008 at 05:55:21PM -0600, Kent West wrote:
> I had thought about dropping the cross-platform requirement, and just
> suggesting to everyone to use a Knoppix LiveCD to do this
> PC-cum-Morse-keyer program, but from this discussion, and my own
> personal failure to find a solution, I think it's not going to happen.
> Too bad; I think a lot of the hams would have enjoyed writing a simple
> little program to turn their PCs into a Morse keyer.
Well, you could write a simple python (thus cross-platform) script that
takes ascii input and gives morse output on e.g. a serial line RTS to
run a Tx. It could also listen on the serial line CTS and turn morse
into ascii.
Python has a 'serial' module that allows access to the serial port.
Doug.
Reply to: