esp32_Adafruit_GPS/examples
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
..
GPS_HardwareSerial_EchoTest Skip tests for unsupported platforms; removed do nothing pieces 2019-03-14 17:05:30 -04:00
GPS_HardwareSerial_LOCUS_DumpBasic Skip tests for unsupported platforms; removed do nothing pieces 2019-03-14 17:05:30 -04:00
GPS_HardwareSerial_LOCUS_Erase Skip tests for unsupported platforms; removed do nothing pieces 2019-03-14 17:05:30 -04:00
GPS_HardwareSerial_LOCUS_Start Skip tests for unsupported platforms; removed do nothing pieces 2019-03-14 17:05:30 -04:00
GPS_HardwareSerial_LOCUS_Status Correct handling of millis() rollover 2020-02-20 22:03:34 +01:00
GPS_HardwareSerial_Parsing Correct handling of millis() rollover 2020-02-20 22:03:34 +01:00
GPS_HardwareSerial_Timing Correct handling of millis() rollover 2020-02-20 22:03:34 +01:00
GPS_I2C_EchoTest basic i2c demo 2019-08-30 02:21:23 -04:00
GPS_I2C_OLEDdebug more workin' on i2c 2019-10-09 16:51:17 -04:00
GPS_I2C_Parsing Correct handling of millis() rollover 2020-02-20 22:03:34 +01:00
GPS_SPI_EchoTest add SPI support - tested with TitanX1. 2019-11-16 19:06:07 -05:00
GPS_SoftwareSerial_EchoTest fix more skips 2020-01-17 16:11:19 -05:00
GPS_SoftwareSerial_LOCUS_DumpBasic fix more skips 2020-01-17 16:11:19 -05:00
GPS_SoftwareSerial_LOCUS_Erase Replace boolean with standard bool 2020-01-27 18:54:28 +00:00
GPS_SoftwareSerial_LOCUS_Start Replace boolean with standard bool 2020-01-27 18:54:28 +00:00
GPS_SoftwareSerial_LOCUS_Status Correct handling of millis() rollover 2020-02-20 22:03:34 +01:00
GPS_SoftwareSerial_Parsing Correct handling of millis() rollover 2020-02-20 22:03:34 +01:00
NMEA_EXTENSIONS Example updates 2020-01-29 09:33:26 -05:00
blank Updated examples, split into HardwareSerial and SoftwareSerial; Removed NewSoftSerial 2019-03-14 14:22:28 -04:00
shield_sdlog Replace boolean with standard bool 2020-01-27 18:54:28 +00:00