seeed-studio / grove_6axis_accelerometer_and_gyroscope_bmi088 Goto Github PK
View Code? Open in Web Editor NEWLibrary for the Grove - 6-Axis Accelerometer&Gyroscope(BMI088)
License: MIT License
Library for the Grove - 6-Axis Accelerometer&Gyroscope(BMI088)
License: MIT License
Would it be possible to publish this library to PlatformIO's registry?
My team would very much appreciate it.
The default I2C device address is hard coded into this library. One method is to change the constructor to accept the alternate device address:
In BMI088.cpp:
BMI088::BMI088( unsigned short acc_addr = BMI088_ACC_ADDRESS, unsigned short gyro_addr = BMI088_GYRO_ADDRESS ) { devAddrAcc = acc_addr; devAddrGyro = gyro_addr; }
remove from BMI088.cpp
BMI088 bmi088;
In BMI088.h:
#define BMI088_ACC_ALT_ADDRESS 0x18
#define BMI088_GYRO_ALT_ADDRESS 0x68
class BMI088
{
public:
BMI088( unsigned short, unsigned short );
remove from BMI088.h
extern BMI088 bmi088;
This also would drive a minor change to the example BMI088_Example.ino:
BMI088 bmi088( BMI088_ACC_ADDRESS, BMI088_GYRO_ADDRESS );
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.