Skip to content

Commit c10e76b

Browse files
committed
Correct multi-line comments - for ESP32 v2.0.5
1 parent 64b9a97 commit c10e76b

File tree

10 files changed

+27
-28
lines changed

10 files changed

+27
-28
lines changed

examples/Arduino/Example10_DMP_FastMultipleSensors/Example10_DMP_FastMultipleSensors.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@
3434
#define CS_PIN 2 // Which pin you connect CS to. Used only when "USE_SPI" is defined
3535

3636
#define WIRE_PORT Wire // Your desired Wire port. Used when "USE_SPI" is not defined
37-
#define AD0_VAL 1 // The value of the last bit of the I2C address. \
38-
// On the SparkFun 9DoF IMU breakout the default is 1, and when \
39-
// the ADR jumper is closed the value becomes 0
37+
// The value of the last bit of the I2C address.
38+
// On the SparkFun 9DoF IMU breakout the default is 1, and when the ADR jumper is closed the value becomes 0
39+
#define AD0_VAL 1
4040

4141
#ifdef USE_SPI
4242
ICM_20948_SPI myICM; // If using SPI create an ICM_20948_SPI object

examples/Arduino/Example11_DMP_Bias_Save_Restore_ESP32/Example11_DMP_Bias_Save_Restore_ESP32.ino

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
#define CS_PIN 2 // Which pin you connect CS to. Used only when "USE_SPI" is defined
3737

3838
#define WIRE_PORT Wire // Your desired Wire port. Used when "USE_SPI" is not defined
39-
4039
// The value of the last bit of the I2C address.
4140
// On the SparkFun 9DoF IMU breakout the default is 1, and when the ADR jumper is closed the value becomes 0
4241
#define AD0_VAL 1

examples/Arduino/Example1_Basics/Example1_Basics.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
#define CS_PIN 2 // Which pin you connect CS to. Used only when "USE_SPI" is defined
2020

2121
#define WIRE_PORT Wire // Your desired Wire port. Used when "USE_SPI" is not defined
22-
#define AD0_VAL 1 // The value of the last bit of the I2C address. \
23-
// On the SparkFun 9DoF IMU breakout the default is 1, and when \
24-
// the ADR jumper is closed the value becomes 0
22+
// The value of the last bit of the I2C address.
23+
// On the SparkFun 9DoF IMU breakout the default is 1, and when the ADR jumper is closed the value becomes 0
24+
#define AD0_VAL 1
2525

2626
#ifdef USE_SPI
2727
ICM_20948_SPI myICM; // If using SPI create an ICM_20948_SPI object

examples/Arduino/Example2_Advanced/Example2_Advanced.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
#define CS_PIN 2 // Which pin you connect CS to. Used only when "USE_SPI" is defined
2121

2222
#define WIRE_PORT Wire // Your desired Wire port. Used when "USE_SPI" is not defined
23-
#define AD0_VAL 1 // The value of the last bit of the I2C address. \
24-
// On the SparkFun 9DoF IMU breakout the default is 1, and when \
25-
// the ADR jumper is closed the value becomes 0
23+
// The value of the last bit of the I2C address.
24+
// On the SparkFun 9DoF IMU breakout the default is 1, and when the ADR jumper is closed the value becomes 0
25+
#define AD0_VAL 1
2626

2727
#ifdef USE_SPI
2828
ICM_20948_SPI myICM; // If using SPI create an ICM_20948_SPI object

examples/Arduino/Example3_Interrupts/Example3_Interrupts.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828
#define CS_PIN 2 // Which pin you connect CS to. Used only when "USE_SPI" is defined
2929

3030
#define WIRE_PORT Wire // Your desired Wire port. Used when "USE_SPI" is not defined
31-
#define AD0_VAL 1 // The value of the last bit of the I2C address. \
32-
// On the SparkFun 9DoF IMU breakout the default is 1, and when \
33-
// the ADR jumper is closed the value becomes 0
31+
// The value of the last bit of the I2C address.
32+
// On the SparkFun 9DoF IMU breakout the default is 1, and when the ADR jumper is closed the value becomes 0
33+
#define AD0_VAL 1
3434

3535
#ifdef USE_SPI
3636
ICM_20948_SPI myICM; // If using SPI create an ICM_20948_SPI object

examples/Arduino/Example4_WakeOnMotion/Example4_WakeOnMotion.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828
#define CS_PIN 2 // Which pin you connect CS to. Used only when "USE_SPI" is defined
2929

3030
#define WIRE_PORT Wire // Your desired Wire port. Used when "USE_SPI" is not defined
31-
#define AD0_VAL 1 // The value of the last bit of the I2C address. \
32-
// On the SparkFun 9DoF IMU breakout the default is 1, and when \
33-
// the ADR jumper is closed the value becomes 0
31+
// The value of the last bit of the I2C address.
32+
// On the SparkFun 9DoF IMU breakout the default is 1, and when the ADR jumper is closed the value becomes 0
33+
#define AD0_VAL 1
3434

3535
#ifdef USE_SPI
3636
ICM_20948_SPI myICM; // If using SPI create an ICM_20948_SPI object

examples/Arduino/Example6_DMP_Quat9_Orientation/Example6_DMP_Quat9_Orientation.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@
3636
#define CS_PIN 2 // Which pin you connect CS to. Used only when "USE_SPI" is defined
3737

3838
#define WIRE_PORT Wire // Your desired Wire port. Used when "USE_SPI" is not defined
39-
#define AD0_VAL 1 // The value of the last bit of the I2C address. \
40-
// On the SparkFun 9DoF IMU breakout the default is 1, and when \
41-
// the ADR jumper is closed the value becomes 0
39+
// The value of the last bit of the I2C address.
40+
// On the SparkFun 9DoF IMU breakout the default is 1, and when the ADR jumper is closed the value becomes 0
41+
#define AD0_VAL 1
4242

4343
#ifdef USE_SPI
4444
ICM_20948_SPI myICM; // If using SPI create an ICM_20948_SPI object

examples/Arduino/Example7_DMP_Quat6_EulerAngles/Example7_DMP_Quat6_EulerAngles.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@
3636
#define CS_PIN 2 // Which pin you connect CS to. Used only when "USE_SPI" is defined
3737

3838
#define WIRE_PORT Wire // Your desired Wire port. Used when "USE_SPI" is not defined
39-
#define AD0_VAL 1 // The value of the last bit of the I2C address. \
40-
// On the SparkFun 9DoF IMU breakout the default is 1, and when \
41-
// the ADR jumper is closed the value becomes 0
39+
// The value of the last bit of the I2C address.
40+
// On the SparkFun 9DoF IMU breakout the default is 1, and when the ADR jumper is closed the value becomes 0
41+
#define AD0_VAL 1
4242

4343
#ifdef USE_SPI
4444
ICM_20948_SPI myICM; // If using SPI create an ICM_20948_SPI object

examples/Arduino/Example8_DMP_RawAccel/Example8_DMP_RawAccel.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@
3434
#define CS_PIN 2 // Which pin you connect CS to. Used only when "USE_SPI" is defined
3535

3636
#define WIRE_PORT Wire // Your desired Wire port. Used when "USE_SPI" is not defined
37-
#define AD0_VAL 1 // The value of the last bit of the I2C address. \
38-
// On the SparkFun 9DoF IMU breakout the default is 1, and when \
39-
// the ADR jumper is closed the value becomes 0
37+
// The value of the last bit of the I2C address.
38+
// On the SparkFun 9DoF IMU breakout the default is 1, and when the ADR jumper is closed the value becomes 0
39+
#define AD0_VAL 1
4040

4141
#ifdef USE_SPI
4242
ICM_20948_SPI myICM; // If using SPI create an ICM_20948_SPI object

examples/Arduino/Example9_DMP_MultipleSensors/Example9_DMP_MultipleSensors.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@
3434
#define CS_PIN 2 // Which pin you connect CS to. Used only when "USE_SPI" is defined
3535

3636
#define WIRE_PORT Wire // Your desired Wire port. Used when "USE_SPI" is not defined
37-
#define AD0_VAL 1 // The value of the last bit of the I2C address. \
38-
// On the SparkFun 9DoF IMU breakout the default is 1, and when \
39-
// the ADR jumper is closed the value becomes 0
37+
// The value of the last bit of the I2C address.
38+
// On the SparkFun 9DoF IMU breakout the default is 1, and when the ADR jumper is closed the value becomes 0
39+
#define AD0_VAL 1
4040

4141
#ifdef USE_SPI
4242
ICM_20948_SPI myICM; // If using SPI create an ICM_20948_SPI object

0 commit comments

Comments
 (0)