Skip to content

Fix Pico HAL not being fully off when LED is LowActive()#152

Merged
jandelgado merged 1 commit intomasterfrom
fix_pico_hal_in_inverted_setup
Apr 28, 2026
Merged

Fix Pico HAL not being fully off when LED is LowActive()#152
jandelgado merged 1 commit intomasterfrom
fix_pico_hal_in_inverted_setup

Conversation

@jandelgado
Copy link
Copy Markdown
Owner

when LED is inverted (LowActive()) the PWM value must be set to 2^res since otherwise there will be a light remaining glim when the LED is supposed to be off.

@coveralls
Copy link
Copy Markdown

coveralls commented Apr 27, 2026

Coverage Status

coverage: 96.781% (+0.01%) from 96.767% — fix_pico_hal_in_inverted_setup into master

@jandelgado jandelgado force-pushed the fix_pico_hal_in_inverted_setup branch 2 times, most recently from 2ece9e1 to 030485e Compare April 27, 2026 12:54
when LED is inverted (LowActive()) the PWM value must be set to 2^res
since otherwise there will be a light remaining glim when the LED 
is supposed to be off.
@jandelgado jandelgado force-pushed the fix_pico_hal_in_inverted_setup branch from 030485e to 37e5dcc Compare April 27, 2026 12:59
@jandelgado jandelgado merged commit a331542 into master Apr 28, 2026
61 checks passed
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