Skip to content

Eliminate go_high, go_low syntax #37

Open
@philipstarkey

Description

@philipstarkey

Original report (archived issue) by Ian B. Spielman (Bitbucket: Ian Spielman, GitHub: ispielma).


For no apparent reason digital lines behave different from analog lines. For example I propose instead:

do_line.go_high(t)
becomes:
do_line.constant(t, 1) or
do_line.constant(t, True)

this allows uniform syntax across analog and digital lines, and makes programming do lines with variables more natural. Realistically the go_high/low methods would remain, but be depreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions