Skip to content

Commit

Permalink
update deep-sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
aldwinhermanudin committed Dec 7, 2023
1 parent 968611f commit 3353cbe
Show file tree
Hide file tree
Showing 15 changed files with 58 additions and 883 deletions.
47 changes: 0 additions & 47 deletions src/mbedos/test-deep-sleep/DummySensor.h

This file was deleted.

158 changes: 0 additions & 158 deletions src/mbedos/test-deep-sleep/Jenkinsfile

This file was deleted.

150 changes: 0 additions & 150 deletions src/mbedos/test-deep-sleep/bme688_and_sleep.cpp.bak

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ BME680::BME680(PinName sda, PinName scl, bool SDO)
_addr = 0x77 << 1;
else _addr = 0x76 << 1;

_i2c_bus.frequency(FREQUENCY_STANDARD);
_i2c_bus.frequency(FREQUENCY_FAST);
}

bool BME680::init()
Expand Down Expand Up @@ -805,15 +805,6 @@ int BME680::getChipID()
return data[0];
}

// void BME680::readRegister(int reg, int size)
// {
// uint8_t reg_8bit = reg;

// _i2c_bus.write ( _addr, (char*)&reg_8bit, 1, true );
// _i2c_bus.read ( _addr, (char*)&data[0], size );

// }

void BME680::readRegister(int reg, int size)
{
_i2c_bus.start();
Expand Down
File renamed without changes.
Empty file.
Empty file.
Loading

0 comments on commit 3353cbe

Please sign in to comment.