mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-09 23:22:33 -04:00
Utility: CW generator
This commit is contained in:
parent
aa29348562
commit
0642c57041
17 changed files with 273 additions and 46 deletions
|
@ -34,6 +34,14 @@
|
|||
#define MORSE_WORD_SPACE 7
|
||||
|
||||
namespace morse {
|
||||
|
||||
const uint32_t morse_symbols[5] = {
|
||||
MORSE_DOT,
|
||||
MORSE_DASH,
|
||||
MORSE_SYMBOL_SPACE,
|
||||
MORSE_LETTER_SPACE,
|
||||
MORSE_WORD_SPACE
|
||||
};
|
||||
|
||||
size_t morse_encode(std::string& message, const uint32_t time_unit_ms, const uint32_t tone);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue