Hii Norm.
I've got the characters all defined now.
Mnay years ago I wrote a morse code trainer program in GWBASIC, which sent randon 5 letter groups at a target speed (say 25 wpm), but spaced...
Type: Posts; User: gm3xvr
Hii Norm.
I've got the characters all defined now.
Mnay years ago I wrote a morse code trainer program in GWBASIC, which sent randon 5 letter groups at a target speed (say 25 wpm), but spaced...
Hi Norm.
Very many thanks for that hint.
I have the code running now, generating some morse code. It seems a bit cumbersome to have to put:
MyDot.play();
Hi Norn.
I am new to java, object oriented programming and threading. My previuos experience was with embedded C where code ran in sequence.
I have read your previous posts and looked at the...
Hi Norm.
If I use the following code:
MyDot.play();
try
{
Hi Norm.
I've had a look but I can't see anything unusual in the code.
This routine looked the simplest to implement to give me a variable tone and duration, and it works for single beeps, but...
Hi Norm.
I'm on kitchen duty tonight, so I'll get back to this in a couple of hours time.
Thanks for your help so far.
Yes. The error is associated with the Thread.sleep(duration); line in the code.
I only got this up and running yesterday, so this is my first attempt at java. I've done a bit of C programming,...
Hi Norm.
I'm using NetBeans and the output I get is:
run:
caught
java.lang.RuntimeException: Uncompilable source code - unreported exception java.lang.InterruptedException; must be caught or...
I tried:
MyDot.play();
try
{
Thread.sleep(duration);
}
Hi Norm
I'm still reading the book, so had to jump forward to that section.
I tried:
MyDot.play();
I tried:
MyDot.play();
Thread.sleep(duration);
but I get the error:
I'm just writing my second Java program (after "Hello World!") to generate tones for a morse code program. I've found some code, but when I try to run it all the tones appear at the same time. How do...