Makuna / Rtc

Arduino Library for RTCs, Ds1302, Ds1307, Ds3231, Ds3232, Ds3234 and Pcf8563/BM8563 with deep support. Please refer to the Wiki for more details. Please use the Github Discussions to ask questions as the GitHub Issues feature is used for bug tracking.
GNU Lesser General Public License v3.0
368 stars 126 forks source link

When using more than one device on a single WIRE bus, there maybe communications issues #152

Closed Makuna closed 1 year ago

Makuna commented 1 year ago

Is your feature request related to a problem? Please describe. More than one device on a single WIRE bus can create communications issues if Wire is used improperly.

Describe the solution you'd like WIRE now supports the ability to manage transmission reset or stop. endTransmission(bool stop); requestFrom(,, bool stop);

Additional context This should better allow those multi command actions to remain linear and properly allow multiple devices to live on a single WIRE bus.

Makuna commented 1 year ago

This effects the following supported chips

Makuna commented 1 year ago

I am not confident this is really an issue.
Using the stop bit for multiple commands causes the error and timeout features of Wire to not work correctly.