Skip to content

Releases: 1e1/Arduino-FastTimer

3.1.0

Choose a tag to compare

@1e1 1e1 released this 01 Jul 20:32
d144433

Bug fixes, native tests + compile CI, docs, and a lighter AVR footprint. Fully backward compatible with 3.0.0.

Fixes

  • syncRFC3339(): correct dates in leap years (previously rendered the wrong month/day).
  • NTP examples now link on AVR (out-of-line definition of NTP_PACKET, gnu++11).
  • _hasResponse(): fixed signed/unsigned comparison that could accept an error packet.
  • getElapsedTimeInMillis(): now compiles and no longer overflows.
  • offline example: guard LED_BUILTIN (undefined on the generic esp32 board).

AVR footprint

  • Date conversion stays at 2 × 16-bit divisions (no 32-bit division).
  • NTP_PACKET moved to PROGMEM: −48 bytes of RAM.

API

  • getTimestampRFC3339() unchanged (returns String).
  • New c_str(): zero-allocation timestamp access.

Tooling

  • Native unit tests (-Werror) + GitHub Actions compiling examples on AVR / ESP8266 / ESP32.

3.0.0

Choose a tag to compare

@1e1 1e1 released this 22 Aug 10:36
e2fc426
Merge pull request #10 from 1e1/develop

major: manage itself the UDP

2.0.2: Merge pull request #9 from 1e1/develop

Choose a tag to compare

@1e1 1e1 released this 20 Aug 22:50
abf1886
fix: don't update the timestamp if the NTP response has no timestamp

2.0.1: Merge pull request #8 from 1e1/develop

Choose a tag to compare

@1e1 1e1 released this 19 Aug 12:57
702e6f8
fix: syncRFC3339