Skip to content

Mini7Seg 1.1.0

Latest

Choose a tag to compare

@mcyork mcyork released this 23 Sep 22:46
· 2 commits to main since this release

Fixes

  • showNumber keeps the minus sign: -5 with leading zeros is -005 (was 0005); a number that does not fit shows - on every digit (was: sign or top digits silently dropped); INT32_MIN is safe. Now returns bool.
  • BG_BLEND does what it says: lit pixels are a 50/50 mix with what is in the array. clear() still erases in BLEND, as in 1.0.0.
  • getLedsPerDigit() no longer wraps above 31 LEDs per segment; new getLedCount() (32-bit).
  • RGBW pixels: the white byte is cleared when a colour is written.
  • Wrong array types fail to compile with a clear message: byte buffers (Adafruit_NeoPixel::getPixels()) and integer colours (uint32_t).

Examples

  • Every example uses GPIO 4 (13 does not exist on the ESP32-C3); mixed_strip compiles again.

Packaging

  • library.json corrected (name Mini7Seg, version, repository URL); both manifests declare FastLED, which every example uses.
  • New Mini7Seg.h (includes String7Segment.h); new isDisplayable(c).

Behaviour changes to know about

  • showNumber returns bool instead of void (source-compatible).
  • In BG_BLEND, lit segments are now a mix rather than the full foreground. Repaint the layer underneath before each draw.

CI builds every example for ESP32-C3, ESP32-S3 and Arduino Uno and runs 35 host checks.