Skip to content

Approve minimum PWM and delta PWM  #19

@huanmel

Description

@huanmel

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

  1. 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.
  2. 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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions