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

add arduino API #6

Merged
merged 4 commits into from
Jun 21, 2021
Merged

add arduino API #6

merged 4 commits into from
Jun 21, 2021

Conversation

hathach
Copy link
Member

@hathach hathach commented Jun 9, 2021

similar to adafruit/Adafruit_LSM6DS#21, this PRs add compatible API for arduino library

  int readMagneticField(float &x, float &y, float &z);
  float magneticFieldSampleRate(void);
  int magneticFieldAvailable(void);

PS: written fashion that requires adafruit/Adafruit_BusIO#46, therefore this is submitted as draft for now. Until the busio libraries release is indexed.

@hathach hathach marked this pull request as ready for review June 21, 2021 05:05
@hathach hathach merged commit b5f17cf into master Jun 21, 2021
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