diff --git a/libraries/CurieIMU/examples/MotionDetect/MotionDetect.ino b/libraries/CurieIMU/examples/MotionDetect/MotionDetect.ino index 400ad461..8bd08106 100644 --- a/libraries/CurieIMU/examples/MotionDetect/MotionDetect.ino +++ b/libraries/CurieIMU/examples/MotionDetect/MotionDetect.ino @@ -44,17 +44,17 @@ void loop() { static void eventCallback(void){ if (CurieIMU.getInterruptStatus(CURIE_IMU_MOTION)) { if (CurieIMU.motionDetected(X_AXIS, POSITIVE)) - Serial.println("Negative motion detected on X-axis"); + Serial.println("Motion detected on positive X-axis"); if (CurieIMU.motionDetected(X_AXIS, NEGATIVE)) - Serial.println("Positive motion detected on X-axis"); + Serial.println("Motion detected on negative X-axis"); if (CurieIMU.motionDetected(Y_AXIS, POSITIVE)) - Serial.println("Negative motion detected on Y-axis"); + Serial.println("Motion detected on positive Y-axis"); if (CurieIMU.motionDetected(Y_AXIS, NEGATIVE)) - Serial.println("Positive motion detected on Y-axis"); + Serial.println("Motion detected on negative Y-axis"); if (CurieIMU.motionDetected(Z_AXIS, POSITIVE)) - Serial.println("Negative motion detected on Z-axis"); + Serial.println("Motion detected on positive Z-axis"); if (CurieIMU.motionDetected(Z_AXIS, NEGATIVE)) - Serial.println("Positive motion detected on Z-axis"); + Serial.println("Motion detected on negative Z-axis"); interruptsTime = millis(); } } diff --git a/libraries/CurieIMU/examples/ShockDetect/ShockDetect.ino b/libraries/CurieIMU/examples/ShockDetect/ShockDetect.ino index 467299a2..0c9c2044 100644 --- a/libraries/CurieIMU/examples/ShockDetect/ShockDetect.ino +++ b/libraries/CurieIMU/examples/ShockDetect/ShockDetect.ino @@ -39,17 +39,17 @@ static void eventCallback(void) { if (CurieIMU.getInterruptStatus(CURIE_IMU_SHOCK)) { if (CurieIMU.shockDetected(X_AXIS, POSITIVE)) - Serial.println("Negative shock detected on X-axis"); + Serial.println("Shock detected on positive X-axis"); if (CurieIMU.shockDetected(X_AXIS, NEGATIVE)) - Serial.println("Positive shock detected on X-axis"); + Serial.println("Shock detected on negative X-axis"); if (CurieIMU.shockDetected(Y_AXIS, POSITIVE)) - Serial.println("Negative shock detected on Y-axis"); + Serial.println("Shock detected on positive Y-axis"); if (CurieIMU.shockDetected(Y_AXIS, NEGATIVE)) - Serial.println("Positive shock detected on Y-axis"); + Serial.println("Shock detected on negative Y-axis"); if (CurieIMU.shockDetected(Z_AXIS, POSITIVE)) - Serial.println("Negative shock detected on Z-axis"); + Serial.println("Shock detected on positive Z-axis"); if (CurieIMU.shockDetected(Z_AXIS, NEGATIVE)) - Serial.println("Positive shock detected on Z-axis"); + Serial.println("Shock detected on negative Z-axis"); } }