diff --git a/examples/GY521_performance_calibrate/GY521_performance_calibrate.ino b/examples/GY521_performance_calibrate/GY521_performance_calibrate.ino index d830701..c6a979b 100644 --- a/examples/GY521_performance_calibrate/GY521_performance_calibrate.ino +++ b/examples/GY521_performance_calibrate/GY521_performance_calibrate.ino @@ -51,7 +51,7 @@ void test(uint16_t times) // flush all output delay(100); uint32_t start = micros(); - sensor.calibrate(100); + sensor.calibrate(times); uint32_t duration = micros() - start; // print results