Skip to content

Feature to adjust maximum brightness of LED pulse method #86

@kbasaran

Description

@kbasaran

Is your feature request related to a problem? Please describe.
The pulse method of PWMLED pulses always from 0% to 100%. I built a device that has a sleep mode and to show that it is in sleep, I use a slow pulse and want the brightness to go from 0% to 20%. When my device is on, I set the brightness to 100% and stop the pulse.

Describe the solution you'd like
Adding a "max_value" kwarg to the method, with default value of 1.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions