• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dangernoodle-io / breadboard / 25347287685
100%

Build:
DEFAULT BRANCH: main
Ran 04 May 2026 10:36PM UTC
Jobs 1
Files 10
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 May 2026 10:35PM UTC coverage: 100.0%. Remained the same
25347287685

push

github

web-flow
feat(bb_led_pwm): brightness-controlled LED via PWM (Phase B) (#199)

* feat(bb_led_pwm): brightness-controlled LED via PWM (B1-171)

Implements single-LED PWM driver with on/off + brightness support.
Caps: BB_LED_CAP_ONOFF | BB_LED_CAP_BRIGHTNESS; count = 1.

Behavior: set_on(true) → 100% duty; set_on(false) → 0% duty;
set_brightness(pct) → linearly map [0..100] to duty range. Active_low
inverts: pct 0 → max duty, pct 100 → min duty. Initial state off.

Platform-specific:
- ESP-IDF: LEDC driver, single shared LEDC_TIMER_0 in LOW_SPEED_MODE,
  up to 8 channels (allocation warning if reconfig attempt).
- Arduino: analogWrite(pin, 0..255); resolution_bits ignored.
- Host: mock captures last pct per pin for testing.

Test coverage: 10 tests (open/close, brightness, on/off, active_low,
color unsupported, idx validation, arg validation, initial state).
All 447 host tests pass.

Smoke builds pass: esp32, uno_cc3000.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* feat(smoke): exercise bb_led_pwm across smoke envs

Wire bb_led_pwm into smoke app and build configs. Opens instance on
GPIO 4, freq 5kHz, 8-bit resolution, active_low=false. Sets brightness
to 25% then closes, exercising both esp32 (LEDC) and Arduino (analogWrite)
backends.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>

366 of 366 branches covered (100.0%)

Branch coverage included in aggregate %.

579 of 579 relevant lines covered (100.0%)

553.7 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25347287685.1 04 May 2026 10:36PM UTC 10
100.0
GitHub Action Run
Source Files on build 25347287685
  • Tree
  • List 10
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25347287685
  • 93a4b721 on github
  • Prev Build on main (#25346527234)
  • Next Build on main (#25347666736)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc