I am getting a Wire.endTransmission returning value 7 (P2 Device OS 6.3.0) yet documentation only has the following error enumerators.
Returns: byte
, which indicates the status of the transmission:
- 0: success
- 1: busy timeout upon entering endTransmission()
- 2: START bit generation timeout
- 3: end of address transmission timeout
- 4: data byte transfer timeout
- 5: data byte transfer succeeded, busy timeout immediately after
- 6: timeout waiting for peripheral to clear stop bit
Is there a new and undocumented return value?