Skip to content

Commit

Permalink
support esp32-arduino
Browse files Browse the repository at this point in the history
  • Loading branch information
HidekiYamauchi committed Oct 24, 2018
1 parent c510e33 commit 6cd1331
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ MPU9250 is 9-Axis sensor.
## Releases

- 1.0.0 Initial release.
- 1.0.1 minimal fix

## How to install.

Expand Down
2 changes: 1 addition & 1 deletion examples/read9axis/read9axis.ino
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
FaBo9Axis fabo_9axis;

void setup() {
Serial.begin(9600);
Serial.begin(115200);
Serial.println("RESET");
Serial.println();

Expand Down
4 changes: 2 additions & 2 deletions library.properties
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name=FaBo 202 9Axis MPU9250
version=1.0.0
version=1.0.1
author=FaBo<[email protected]>
maintainer=Akira Sasaki<[email protected]>
sentence=A library for FaBo 9Axis I2C Brick
paragraph=MPU9250 is 9-Axis sensor.
category=Sensors
url=https://github.com/FaBoPlatform/FaBo9AXIS-MPU9250-Library
architectures=avr
architectures=avr,esp32
2 changes: 1 addition & 1 deletion src/FaBo9Axis_MPU9250.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ void FaBo9Axis::writeI2c(uint8_t address, uint8_t register_addr, uint8_t data) {
void FaBo9Axis::readI2c(uint8_t address, uint8_t register_addr, uint8_t num, uint8_t * buffer) {
Wire.beginTransmission(address);
Wire.write(register_addr);
Wire.endTransmission(false);
Wire.endTransmission();
uint8_t i = 0;
Wire.requestFrom(address, num);
while( Wire.available() ) {
Expand Down

0 comments on commit 6cd1331

Please sign in to comment.