MCPcopy Create free account
hub / github.com/arduino-libraries/NTPClient / setRandomPort

Method setRandomPort

NTPClient.cpp:209–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207}
208
209void NTPClient::setRandomPort(unsigned int minValue, unsigned int maxValue) {
210 randomSeed(analogRead(0));
211 this->_port = random(minValue, maxValue);
212}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected