Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 438 Bytes

README.md

File metadata and controls

33 lines (25 loc) · 438 Bytes

Rust Morse Code Encoder

Convertor for strings into morse code

Building

cargo build

Running

cargo run "input string" 

Usage

Normal

$ cargo run "hello world" 

Input: hello world
Output: .... . .-.. .-.. --- / .-- --- .-. .-.. -..

Flags

  • Output sound flag -s

With sound output

$ cargo run "sounds output" -s

Input: sounds output
Output: ... --- ..- -. -.. ... / --- ..- - .--. ..- -