Commit Graph

4 Commits

Author SHA1 Message Date
Edgar Bonet 939534d580 Correct handling of millis() rollover
millis() returns an unsigned long integer, and C++ guarantees that
arithmetics on this type work modulo (ULONG_MAX+1). This behavior
ensures that computing a delay as

    millis() - previousMillis

yields the correct result across millis() rollover events, as long as
the time actually elapsed is less than about 49.7 days.
2020-02-20 22:03:34 +01:00
Matt Goodrich bf079ad2cd Skip tests for unsupported platforms; removed do nothing pieces 2019-03-14 17:05:30 -04:00
Matt Goodrich d7c9f848f6 Updated examples, split into HardwareSerial and SoftwareSerial; Removed NewSoftSerial 2019-03-14 14:22:28 -04:00
ladyada ea73a3a8f3 hardwareserial (non-interrupt) GPS LOCUS examplz 2017-08-01 23:27:56 -04:00