Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase the maximum number of addressable LEDs 7.1 #9717

Conversation

MrD-RC
Copy link
Collaborator

@MrD-RC MrD-RC commented Feb 11, 2024

INAV 7.1 based version of #9701

Rebasing at this stage is a nightmare.

This is a non-breaking change. So should not be a problem for 7.1

-- Original info from #9701

Increase the number of addressable LEDs from 32 to 128.

The extra 96 LEDs adds only 10560 B (5.37% on an F722) of RAM usage, and an extra 64 B (0.01% on F722) of Flash. If necessary, this could be changed so that it is only available on processors with > 512 KB flash.

image

Why so many LEDs? Why not? On larger aircraft, a single LED strip along a wing will have many chips. Here, for example is the tail boom extensions for a Drak.
image

Here's the CPU usage with the LEDs switched off.
image

Here's the CPU usage with 96 LEDs with a Larson scanner running.
image

INAV 7.1 based version of #9701

Rebasing at this stage is a nightmare.
@MrD-RC MrD-RC added this to the 7.1 milestone Feb 11, 2024
@DzikuVx DzikuVx merged commit e0d3c22 into release_7.1.0 Feb 13, 2024
14 checks passed
@MrD-RC MrD-RC deleted the Mr_D-Increase-the-maximum-number-of-addressable-LEDs-7.1 branch September 17, 2024 12:23
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