http://www.w3.org/ns/prov#value | - pings in your sketch, for example to do something that requires delays or takes longer than 33ms to process, do the following:Code: [Select]for (uint8_t i = 0; i < SONAR_NUM; i++) pingTimer[i] = -1;To start the pings again, do the following:Code: [Select]pingTimer[0] = millis();for (uint8_t i = 1; i < SONAR_NUM; i++) pingTimer[i] = pingTimer[i - 1] + PING_INTERVAL;Hope this helps!
|