Skip to content
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

Update for Hallowing M4 with MSA311 #46

Merged
merged 1 commit into from Jul 11, 2023

Conversation

caternuson
Copy link
Contributor

Updates code and test sketch to work with original MSA301 Hallowing M4's and revs with MSA311.

Only semi-tested on an original Hallowing M4 with a MSA301. Attached a MSA311 via STEMMA connector. For testing, altered code to pass in the wrong I2C address for the MSA301 to force its init to fail:

  // MSA301 @ 0x26 on older revs
  if (arcada.accel->begin(0x11)) {

The MSA311 was then found and returned data.

image

@caternuson
Copy link
Contributor Author

@ladyada for review

@caternuson caternuson merged commit d3fb35d into adafruit:master Jul 11, 2023
@ladyada
Copy link
Member

ladyada commented Jul 11, 2023

thanks - i missed this while i was out on break!

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.

None yet

2 participants