4 ms·
Gosh that's involved. I'd just turn dot into '0', dash into '1', building a binary string; then when space comes along, use the binary as a pointer into an arr
by teeja 17y ago
Gosh that's involved.
I'd just turn dot into '0', dash into '1', building a binary string; then when space comes along, use the binary as a pointer into an array.
Luckily, all Morse characters fit in 8 bits. Baudot too.