8000 Consider allowing microbit.sleep to take a float · Issue #7 · bbcmicrobit/micropython · GitHub
[go: up one dir, main page]

Skip to content
Consider allowing microbit.sleep to take a float #7
@dpgeorge

Description

@dpgeorge

microbit.sleep currently only accepts an integer, since the underlying DAL only accepts an integer argument.

Maybe it makes sense to allow a float and implicitly truncate it to an int?

@ntoll what is your opinion?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0