Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

relay - several problems #19

Description

@jontrulson
  • never sets the gpio direction

  • does both reads and writes on the gpio... I'm don't think that will
    work reliably?

  • is_relay_on/off() reads a value, but doesn't do anything with it. I
    changed to return the correct state, but again, the above two issues
    probably means this may not actually work and should be removed.

    Also, they should return a bool, but instead return a upm_result_t.

  • Uses a switch FT, but a switch FT only gets a value, it never sets
    one, so it's kind of useless for a relay. Need a new output switch
    FT?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions