morse_code: Add generic output function

Instead of tying the morse_code module to an LED, allow users to pass in
an output function.

Change-Id: Id520fb0cb3b844af9dadb0ba07a00639ab2d2615
Reviewed-on: https://pigweed-internal-review.git.corp.google.com/c/pigweed/showcase/rp2/+/71530
Reviewed-by: Wyatt Hepler <hepler@google.com>
Commit-Queue: Alexei Frolov <frolv@google.com>
11 files changed
tree: 4a4b8b1528c1b776470b4bd6f515e648ba08588d
  1. .vscode/
  2. apps/
  3. device/
  4. modules/
  5. system/
  6. targets/
  7. tools/
  8. web_app/
  9. .bazelignore
  10. .bazelrc
  11. .bazelversion
  12. .clang-format
  13. .gitignore
  14. .pw_console.yaml
  15. AUTHORS
  16. BUILD.bazel
  17. CONTRIBUTING.md
  18. LICENSE
  19. OWNERS
  20. pigweed.json
  21. README.md
  22. WORKSPACE
README.md

Pigweed Open Source Template Repository

This repository is a template that we will use when creating new open source repositories for Pigweed.