|
-
March 27th, 2003, 07:05 PM
#1
C question
I'm writing a program in C to get the computers internal speaker to transmit a morse code message.
I have no problem transmitting a dot, I use the \a command inside of printf, but I can't repersent a dash, (three times the length of a dot). I've tried using \a three times in a row but it doesn't sound right so I was wondering does anybody know how I might achieve this.
Also is there a command to stop a program operating for a length of time (such a sleep command or something) to put the spaces in the message?
Thanks in advance,
Garathjax
If you don\'t learn the rules nobody can accuse of cheating.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|