Confusing situation with I2C settings.

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
User avatar
costo
Normal user
Posts: 500
Joined: 21 Nov 2015, 15:03
Location: NL, zw-NB

Confusing situation with I2C settings.

#1 Post by costo » 03 Nov 2016, 13:35

Maybe it is mentioned here before (or maybe not).

After changing any pin_setting of SDA/SCL in the hardware tab and click the submit button one would expect that these settings take effect immediately. This would be the preferred situation when finding out which pin is SDA and which pin is SCL.

But these changes are not implemented directly, only after a reboot the changes take effect.
This can be confusing as all(/most) other settings take effect immediately after saving a new setting.

Most likely this is because the wire.h has to be initialized with a 'wire.begin' which is done (or can be done only ?) right after a reboot. This is a confusing situation. I suggest to show a note/warning in the hardware tab right next of the SDA/SCL boxes that changes of SDA/SCL take effect only after a reboot.
Certainly this would make it easier to setup I2C for beginners.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 35 guests