Skip to content

Make initial pin value configurable. #166

Open
@soundanalogous

Description

@soundanalogous

When an Arduino board boots up, all digital pins default to INPUT. Then when Firmata is initialized, all pins are set to OUTPUT (to avoid transient voltages triggering unmanaged input pins). When the pins are set to output, the value is also set to LOW. It turns out that this can be an issue if someone is using relays.

It may be helpful to suppress setting the output value to LOW on startup or to provide a way for users to specify the initial output pin states (could be worth reexamining the older proposals for saving state in EEPROM).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions