Add support for using a ws2812 led for DAP_STATUS #34
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi Alex,
thank you for your free-dap project. I use it with a RP2040-Zero, which has a ws2812 RGB led on pin 16 rather than the standard led on pin 25 (https://www.waveshare.com/wiki/RP2040-Zero).
I added support for blinking the ws2812 led. Would you be interested in adding this to your project?
As far as I can tell it works and doesn't break anything.
There is a new option DAP_STATUS_USE_WS2812 to enable blinking both the standard led and the rgb led, so it should work on both standard and zero boards. If you disable this option, everything should be as before with just the standard led on pin 25 blinking.
A few notes:
Kind regards,
Stefan