Morse P - portapack-mayhem/mayhem-firmware GitHub Wiki
Morse Practice is a Morse code keying trainer. It lets you practise sending Morse code by pressing and holding a key button, then decodes what you entered and displays the corresponding character. Audio feedback plays a tone through the speaker while the key is held down.
Controls
- KEY button (centre of screen): Hold to key โ release to decode. Works with both the touchscreen and the Select hardware button.
- CLR button: Clears the decoded text display.
- Volume: Audio output level for the keying tone.
How it works
The app measures the duration of each key press and gap:
- A short press is decoded as a dit (ยท)
- A long press is decoded as a dah (โ)
- A gap between presses ends the current symbol and looks it up in the Morse table
- The dot/dash threshold is determined automatically from your keying rhythm using a statistical split of recent pulse durations
The current dot-dash sequence is shown on screen, and the decoded character appears below it when the inter-character gap is detected. Decoded characters accumulate in the scrolling text area below.