production: Fine tune mode transitions

With this CL, the state manager now:
 * Blinks 3 times when transitioning from threshold mode to monitor
   mode.
 * Pauses for 1 seconds when looping the morse code message on alarm.

Change-Id: Id7ecbeae154278f1a8f41014a2b6b13b36542cdf
Reviewed-on: https://pigweed-internal-review.git.corp.google.com/c/pigweed/showcase/rp2/+/73160
Commit-Queue: Aaron Green <aarongreen@google.com>
Reviewed-by: Wyatt Hepler <hepler@google.com>
Reviewed-by: Aaron Green <aarongreen@google.com>
9 files changed
tree: d7332c461dc08d5ae164722c5d3ef956d6a2f6e2
  1. .github/
  2. .vscode/
  3. apps/
  4. device/
  5. modules/
  6. system/
  7. targets/
  8. tools/
  9. web_app/
  10. .bazelignore
  11. .bazelrc
  12. .bazelversion
  13. .buildifier.json
  14. .clang-format
  15. .clangd.shared
  16. .gitignore
  17. .pw_console.yaml
  18. AUTHORS
  19. BUILD.bazel
  20. CONTRIBUTING.md
  21. LICENSE
  22. MODULE.bazel
  23. OWNERS
  24. pigweed.json
  25. README.md
README.md

Pigweed Open Source Template Repository

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