Skip to content

Fades taking a long time when turning off LSB #1

@tarekelkurjie

Description

@tarekelkurjie

When covering the light sensor on the LSB, any fades in the program would take a considerable amount of time to pass. This means they would be visible and it would be very confusing to the end-user. My proposed solution is to add a state variable that updates when the sensor is covered. There will be a guard clause checking if that state variable is set to 'true' in each fade. If so, return out of the function.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions