Skip to content

Wire: allow scanning bus via beginTransmission - endTransmission #40

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 29, 2015

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.

Supersedes #39

@ArduinoBot
Copy link

✅ Build completed.

⬇️ Build URL: http://downloads.arduino.cc/PR/samd/package_samd-b33_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 #40
  5. Select one of the boards under SAMD Pull Request Wire: allow scanning bus via beginTransmission - endTransmission #40 in Tools->Board menu
  6. Compile/Upload as usual

@cmaglie cmaglie self-assigned this Sep 28, 2015
@cmaglie cmaglie merged commit 3972d36 into arduino:master Sep 29, 2015
@cmaglie cmaglie deleted the i2c_scan_fix branch September 29, 2015 12:48
@cmaglie cmaglie modified the milestones: Release 1.6.5, Release 1.6.2 Mar 10, 2016
ladyada referenced this pull request in adafruit/ArduinoCore-samd Apr 9, 2018
dhalbert pushed a commit to dhalbert/ArduinoCore-samd that referenced this pull request Oct 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants