You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
just a precautionary question because I stumbled across this while building my Pin Lib.
Do you take care in your Pin Lib that the pins 18/19 are switched to input and the pullups are switched off when using the Wire Lib?
And when ending Wire.end the pins 22/23 are switched to input and its pullups are switched off. This was overlooked in the original code.
This is only a potential issue on Arduino Nano Every, since PA2/PF2 and PA3/PF3 are shorted together on the PCB. The i2c interface needs pullup resistors, so it can only drive the lines low.
The only theoretical issue is that PF2 and PF3 are forced high while PA2 and PA3 are in i2c mode. I'll push a commit that fixes this for the Nano Every.
Hello Hans,
just a precautionary question because I stumbled across this while building my Pin Lib.
Do you take care in your Pin Lib that the pins 18/19 are switched to input and the pullups are switched off when using the Wire Lib?
And when ending Wire.end the pins 22/23 are switched to input and its pullups are switched off. This was overlooked in the original code.
A preventive measure against electrical short circuits.
arduino/Arduino#11221
Translated with www.DeepL.com/Translator (free version)
The text was updated successfully, but these errors were encountered: