From 3b0808868a3dc9807fce4cce8e4ca42ecc2f3a74 Mon Sep 17 00:00:00 2001 From: Rob Tillaart Date: Fri, 21 Jun 2024 15:26:24 +0200 Subject: [PATCH] fix example --- .../GY521_performance_calibrate/GY521_performance_calibrate.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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