Commit Graph

7 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
Limor "Ladyada" Fried 50bf6203b5
Merge pull request #69 from stoph/patch-2
Fix spelling error
2019-07-09 13:22:01 -04:00
Matt Goodrich efa9bfd857 Fix for #41 and #68 time parsing issues, based on fixes from HamishB 2019-05-16 11:55:42 -04: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
Stoph 23dfb49f4e
Fix spelling error 2017-11-11 10:42:45 -05:00
ladyada 3fbbc52add simplify Flora & Featherwing to just have HwSerial test code 2016-07-11 23:33:09 -04:00