Skip to content

feat: pwm used for button led again#36

Merged
corp0529 merged 3 commits into
mainfrom
pwm-revert
Mar 5, 2026
Merged

feat: pwm used for button led again#36
corp0529 merged 3 commits into
mainfrom
pwm-revert

Conversation

@corp0529

@corp0529 corp0529 commented Mar 5, 2026

Copy link
Copy Markdown
Contributor

What type of PR is this? (check all applicable)

  • 🍕 Feature
  • 🐛 Bug Fix
  • 📝 Documentation Update
  • 🎨 Style
  • 🧑‍💻 Code Refactor
  • 🔥 Performance Improvements
  • ✅ Test
  • 🤖 Build
  • 🔁 CI
  • 📦 Chore (Release)
  • ⏩ Revert

Description

This returns a feature that uses PWM to control the power button LED.
In steady state, the LED is set to on, and at all other times it uses PWM ramp to sawtooth between 0 and 1 over a 2 second period.

Related Issues, Tickets & Documents

https://app.clickup.com/t/869byyx7h

Manual test

  • 👍 yes
  • 🙅 no

Manual test description

Deploy on a test MCU board
Observe pulsing light

Added tests?

  • 👍 yes
  • 🙅 no, because they aren't needed
  • 🙋 no, because I need help

Added to documentation?

  • 📜 README.md
  • 🙅 no documentation needed

@cpunt cpunt left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall lgtm, just 3 nitpicks

Comment thread services/hal/internal/provider/setups/pico_bb_proto_1.go Outdated
Comment thread main.go Outdated
Comment thread main.go Outdated

@cpunt cpunt left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@corp0529
corp0529 merged commit 4dafbaa into main Mar 5, 2026
@corp0529
corp0529 deleted the pwm-revert branch March 5, 2026 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants