Skip to content

Version 2.0 - 36-bit Color, FastLED Support, AnimatedGIFs example

Compare
Choose a tag to compare
@pixelmatix pixelmatix released this 20 Sep 06:09
· 943 commits to master since this release

Major New Features

  • 36 and 48-bit color support
  • FastLED library support (thanks @focalintent)
    • Support for using the FastLED library helper functions with a normal SmartMatrix sketch
    • Support for using FastLED's "SMART_MATRIX" controller
    • Depends on using a recent copy of the FastLED2.1 Branch from here https://github.com/FastLED/FastLED
    • See examples for two sketches showing two ways to use FastLED
  • AnimatedGIFs example (thanks @craiglindley)
  • Adjustable background layer brightness through gamma correction lookup table
  • Added new font "gohufont" with regular and bold versions (thanks @TwystNyko)
  • Added experimental foreground drawing routines - can set individual pixels in the foreground layer in addition to scrolling text
  • More control over scrolling text
    • new scroll mode wrapForwardFromLeft, which starts text at the left edge of the screen, then wraps just like wrapForward (thanks @pup05)
    • setScrollStartOffsetFromLeft() - sets the position where text starts scrolling for the
    • setScrollOffsetFromEdge() to setScrollOffsetFromTop() to clarify position

Bug fixes

  • Fix several corner cases in fillRectangle (thanks @Vipor26 and @craiglindley)
  • Draw single point circle with radius of 0 (thanks @pup05)

Misc

  • changed swapBuffers() so it can return immediately without copying on swapBuffers(bool copy = false), allows applications that fill the full frame before each swapBuffers() call to run at a higher frame rate.
  • Optimizations to refresh routines (thanks @ecdr and @focalintent)
  • Arduino Keywords.txt, more readable MatrixForeground and DMA code (thanks @Vipor26)