Skip to content

hal.port.digital_out causing a hang #42

Closed
@5ocworkshop

Description

@5ocworkshop

I'm working on a new plugin that uses that uses the Output_Aux lines but when I address them it hangs the code.

I am able to use standard Arduino pinMode and digitalWrite commands to write to the pins and they behave as expected - so the pathway is correct electrically.

Is this the correct syntax to have the line go high?

hal.port.digital_out(Output_Aux0, true)

(EDIT: I thought I think I found mistake, the comment above the point referes to true but the actual command wants a bool and it says on. However "on" is not defined but "On" and "Off" are defined. Exploring now.)

Also, I haven't located it yet, but I assume the output pins get set to output mode somewhere or should I be initializing them?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions