File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -55,8 +55,8 @@ bool updateSensorData = true; //Flag to update the sensor data. Default
55
55
void setup () // This code is executed once
56
56
{
57
57
// Peripheral Initialization
58
- Serial.begin (115200 ); // Initialize the Serial Port to view information on the Serial Monitor
59
- I2C .begin (); // Initialize I2C communication to the let the library communicate with the sensor.
58
+ Serial.begin (9600 ); // Initialize the Serial Port to view information on the Serial Monitor
59
+ Wire .begin (); // Initialize I2C communication to the let the library communicate with the sensor.
60
60
// Sensor Initialization
61
61
mySensor.initSensor (); // The I2C Address can be changed here inside this function in the library
62
62
mySensor.setOperationMode (OPERATION_MODE_NDOF); // Can be configured to other operation modes as desired
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ NineAxesMotion mySensor; //Object that for the sensor
52
52
void setup () // This code is executed once
53
53
{
54
54
// Peripheral Initialization
55
- I2C .begin (); // Initialize I2C communication to the let the library communicate with the sensor.
55
+ Wire .begin (); // Initialize I2C communication to the let the library communicate with the sensor.
56
56
// Sensor Initialization
57
57
mySensor.initSensor (); // The I2C Address can be changed here inside this function in the library
58
58
mySensor.setOperationMode (OPERATION_MODE_NDOF); // Can be configured to other operation modes as desired
Original file line number Diff line number Diff line change @@ -54,8 +54,8 @@ const int streamPeriod = 20; //To stream at 50Hz without using addition
54
54
void setup () // This code is executed once
55
55
{
56
56
// Peripheral Initialization
57
- Serial.begin (115200 ); // Initialize the Serial Port to view information on the Serial Monitor
58
- I2C .begin (); // Initialize I2C communication to the let the library communicate with the sensor.
57
+ Serial.begin (9600 ); // Initialize the Serial Port to view information on the Serial Monitor
58
+ Wire .begin (); // Initialize I2C communication to the let the library communicate with the sensor.
59
59
// Sensor Initialization
60
60
mySensor.initSensor (); // The I2C Address can be changed here inside this function in the library
61
61
mySensor.setOperationMode (OPERATION_MODE_NDOF); // Can be configured to other operation modes as desired
You can’t perform that action at this time.
0 commit comments