air_sensor: Wire buttons for thresholds and alarms

With this change, pressing A and B change the air quality alarm
threshold. When alarmed, the LED will blink a Morse-encoded message that
can be silenced by pressing Y.

Change-Id: I8dea553112fd92396e67148a18d153509d33e5fe
Reviewed-on: https://pigweed-internal-review.git.corp.google.com/c/pigweed/showcase/rp2/+/72888
Reviewed-by: Wyatt Hepler <hepler@google.com>
Commit-Queue: Taylor Cramer <cramertj@google.com>
11 files changed
tree: 81a2cfb4847b9b88f921da3092ad5c1d13caf180
  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. .clang-format
  14. .clangd.shared
  15. .gitignore
  16. .pw_console.yaml
  17. AUTHORS
  18. BUILD.bazel
  19. CONTRIBUTING.md
  20. LICENSE
  21. MODULE.bazel
  22. OWNERS
  23. pigweed.json
  24. 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.