Skip to content

Conversation

@facchinm
Copy link
Member

Using

beginTransmission(); 
endTransmission() 

to scan the I2C bus for devices is a very common practice.
The patch solves the case when no byte was sent, only the address to be acknowledged.

@ArduinoBot
Copy link

✅ Build completed.

⬇️ Build URL: http://downloads.arduino.cc/PR/samd/package_samd-b31_index.json

ℹ️ To test this build:

  1. Open the Preferences of the Arduino IDE.
  2. Add the Build URL above in the Additional Boards Manager URLs field, and click OK.
  3. Open the Boards Manager (menu Tools->Board->Board Manager...)
  4. Install Arduino SAMD core - Pull Request Wire: allow scanning bus via beginTransmission - endTransmission #39
  5. Select one of the boards under SAMD Pull Request Wire: allow scanning bus via beginTransmission - endTransmission #39 in Tools->Board menu
  6. Compile/Upload as usual

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants