Skip to content

Setting an Input Pin to High would be helpfull of a Warning of the Arduino IDE Software #11647

Open
@DanielHaltiner

Description

@DanielHaltiner

Arduino IDE Version: 1.8.15
Arduino Hardware: Arduino Nano Every

If you write "digitalWrite (X, HIGH) to a Pin, which has accidentaly defined as an input the processor will set the output, but only a low current commes from this "Fake Output".

It would be very helpfull, if the IDE Software would give a Warning/Input, that in the code is a "digitalWrite" which writes to an Input...
(By defining the analog Inputs I defined the Digital 6 Output further below in the VoidSetup acidentaly again as an Input. This creates an Output half alive... Or I was to dumb to make right code)

WCB-TRM21Software_V0.1.12.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: CoreRelated to the code for the standard Arduino APIfeature requestA request to make an enhancement (not a bug fix)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions