-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
As written in LLR 2, 18, 14 and 15 PWM should be minimum 10% and increased and decrease by 10%.
Duty of PWM is coded by value in [0..255].
I see 2 way of implementation
- suggest to use 10 % as fixed value where minimum and delta of PWM duty are equal = 25.
In this case 100% = 250. It's not fulled to 255. - Another way to make duty = command in percent * 255 and rounded to nearest integer. For changing duty (+/- 10 %) there's need to store the previous command in percent in some varaible, may be to use additional field in APPLICATION_DATA.duty.
What do you think we need ?
Metadata
Metadata
Assignees
Labels
No labels