-
-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting an Input Pin to High would be helpfull of a Warning of the Arduino IDE Software #11647
Labels
Component: Core
Related to the code for the standard Arduino API
feature request
A request to make an enhancement (not a bug fix)
Comments
per1234
added
Component: Core
Related to the code for the standard Arduino API
feature request
A request to make an enhancement (not a bug fix)
labels
Aug 13, 2021
I double that, and as a workaround I meanwhile use sth like (similar things for digitalReadX(), digitalReadXpu(), digitalReadXpd() ) // also for RPi + wiringPi |
Writing a high to an input activates the Pull Up, and as I use that very frequently I would be annoyed by such a warning. |
I understand you would be annoyed.
On the other hand to have a processor output just running fine without load (only Pull Up res), and with a bit load fails, is for probably most Arduino user a big big mystery… (yes, I made the initialisation wrong. But a hint what is wrong would help I guess many people).
Anyway, thanks for your excellent work about Arduino!
See you,
Daniel
Von: hossians ***@***.***>
Gesendet: Freitag, 3. September 2021 08:42
An: arduino/Arduino ***@***.***>
Cc: Entwicklung ***@***.***>; Author ***@***.***>
Betreff: Re: [arduino/Arduino] Setting an Input Pin to High would be helpfull of a Warning of the Arduino IDE Software (#11647)
Writing a high to an input activates the Pull Up, and as I use that very frequently I would be annoyed by such a warning.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#11647 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AVGDW2HPC3SKVDSPVOAABU3UABU3BANCNFSM5CDHUWJQ>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Component: Core
Related to the code for the standard Arduino API
feature request
A request to make an enhancement (not a bug fix)
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
The text was updated successfully, but these errors were encountered: