| 6 | } |
| 7 | |
| 8 | bool Ticker::Callback() { |
| 9 | Serial.println(); Serial.println(); Serial.println(); |
| 10 | Serial.print(millis()); Serial.print(":\t"); |
| 11 | Serial.println("CycleCallback: Initiating measurement cycle every 10 seconds"); |
| 12 | |
| 13 | int numberSensors = random(1, 11); // 1 to 10 sensors, randomly |
| 14 | Serial.print("Number of sensors="); |
| 15 | Serial.println(numberSensors); |
| 16 | |
| 17 | iMeasure->setWaiting(numberSensors); // Set the StatusRequest to wait for 1 to 10 signals. |
| 18 | iCalc->waitFor(iMeasure); |
| 19 | return true; |
| 20 | } |
| 21 |
nothing calls this directly
no test coverage detected