License: MIT
no_std
Iterator
-based interfaceThere are currently no plans to support decoding of Morse code.
```rust fn waitfor(duration: u8) { // ... } fn beepfor(duration: u8) { // ... }
for action in smallmorse::encode("Hello in morse code!") { if action.state == smallmorse::State::On { beepfor(action.duration); } else { waitfor(action.duration); } } ```
The natural extension to your simple embedded project of blinking an LED is to blink it in morse code. The goal of this library is to make it easy to emit morse code from any environment, and with any type of output.