Skip to content

Please set default pin mode to INPUT on system reset #308

Open
@gkzsolt

Description

@gkzsolt

In StandardFirmata.ino, systemResetCallback() sets the default mode to OUTPUT (and value LOW) for all pins on startup. This will short-circuit the pins which are connected to HIGH logic level by other circuits, causing malfunctioning or serious damage. The Arduino itself defaults all pins to INPUT mode on power up, which physically can not do any damage and is the only safe mode in any hardware situation.
Please follow this and set the pins mode to INPUT in the sketch as well.

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