Skip to content
Snippets Groups Projects
Commit 9565f3f6 authored by Dennis Eisold's avatar Dennis Eisold
Browse files

Morsecode erweitert auf whitespace und Zahlen 0-9

parent 82b5d272
No related branches found
No related tags found
No related merge requests found
......@@ -42,6 +42,17 @@ public class Morsecode {
this.codeMap.put("X", "-..-");
this.codeMap.put("Y", "-.--");
this.codeMap.put("Z", "--..");
this.codeMap.put(" ", "-...-");
this.codeMap.put("1", ".----");
this.codeMap.put("2", ".----");
this.codeMap.put("3", "...--");
this.codeMap.put("4", "....-");
this.codeMap.put("5", ".....");
this.codeMap.put("6", "-....");
this.codeMap.put("7", "--...");
this.codeMap.put("8", "---..");
this.codeMap.put("9", "----.");
this.codeMap.put("0", "-----");
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment