Skip to content

Update LED control to use output instead of light#18

Open
MichaelMKKelly wants to merge 1 commit intoLocalBytes:mainfrom
MichaelMKKelly:remove-light
Open

Update LED control to use output instead of light#18
MichaelMKKelly wants to merge 1 commit intoLocalBytes:mainfrom
MichaelMKKelly:remove-light

Conversation

@MichaelMKKelly
Copy link
Copy Markdown

Remove the light component and instead drive the LED directly from the output component.
The light component in binary mode component is just a wrapper on the output component and as the light is not directly exposed anyway it brings no functionality by having it.

Whilst this change makes functionally no real difference, The light component itself is one of the heavier components so by removing it and driving the output directly there is a relatively big saving of both firmware flash size and also memory usage on the ESP.

This means increased breathing room for firmware size in the future and also increased stability from less memory usage. These benifits will matter more if people are adding extra functioanlity and need the breathing space.

Replaced 'light' commands with 'output' commands for LED control.
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