Skip to content

what is the meaning of the mgic number used in map method #2

@xuanzhui

Description

@xuanzhui

value_pin = map((value_ads - 565), 0, 26690, 0, 1023) # 565 / 535 fix value
what does the magic number 565 stands for?

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