aconno acnsensa project for iOS devices with iBeacon packets support.
Dependencies: LSM9DS1 Si7006A20 aconno_SEGGER_RTT aconno_bsp adc52832_common
Diff: main.cpp
- Revision:
- 2:c0654c5fb771
- Parent:
- 1:326ce5e200fb
- Child:
- 3:78ceda8ef565
diff -r 326ce5e200fb -r c0654c5fb771 main.cpp --- a/main.cpp Wed Dec 13 09:37:21 2017 +0000 +++ b/main.cpp Wed Dec 13 09:46:08 2017 +0000 @@ -231,7 +231,7 @@ I2C i2c(I2C_DATA, I2C_CLK); si = new Si7006(&i2c); - mems = new LSM9DS1(i2c); + mems = new LSM9DS1(&i2c); spi = new SPI(SPI_MOSI, SPI_MISO, SPI_SCLK); mpl115a1 = new MPL115A1(*spi, cs);