NeoPatterns

Patterns for NeoPixel strips and matrixes including the patterns of the NeoPattern Example by Adafruit.

GPL-3.0 License

Stars
67
NeoPatterns - Added parameter aRepetitions to pattern RainbowCycle Latest Release

Published by ArminJo about 2 years ago

  • Added parameter aRepetitions to pattern RainbowCycle.
  • Improved layout of character c.
NeoPatterns - New pattern FLASH

Published by ArminJo about 2 years ago

  • Added functions printConnectionInfo(), fillRegion(), stop() and stopAllPatterns().
  • Fixed brightness initialization bug for Neopixel with UnderlyingNeoPixelObjects.
  • Renamed updateAll* and updateAndWait* functions.
  • Now all NeoPattern objects are contained in NeoPatterns list.
  • Now updateOrRedraw() does never call show().
  • New pattern FLASH.
  • Renamed ColorSet() to setColor().
NeoPatterns - Renamed 3 file from *.cpp to *.hpp. Added support for brightness.

Published by ArminJo over 2 years ago

  • Enabled individual selection of patterns to save program memory.
  • Renamed NeoPatterns.cpp, MatrixNeoPatterns.cpp and MatrixSnake.cpp to NeoPatterns.hpp, MatrixNeoPatterns.hpp and MatrixSnake.hpp.
  • Renamed matrix pattern macros from PATTERN_* to MATRIX_PATTERN_*.
  • Changed parameter for endless repeats in initMultipleFallingStars().
  • Improved usage of random().
  • Added function fillRegion(), isActive() and setAdafruitBrightnessValue().
  • Added support for brightness and brightness non zero mode.
  • Fixed aDoUpdate bug for FADE.
  • Fixed bugs in Colors.h.
NeoPatterns - Added SnowMatrix pattern

Published by ArminJo over 3 years ago

  • Changed type of TotalStepCounter from uint16_t to int16_t.
  • Added SnowMatrix pattern.
  • Improved debugging.
  • Fixed random() bug for ESP32.
  • Improved Fire cooling.
NeoPatterns - Changed TickerUpdate() and loadPicture() and their callers

Published by ArminJo almost 4 years ago

  • Changed TickerUpdate() and loadPicture() and their callers to achieve that YOffset is consistent with Y direction and origin.
  • Removed restriction to 8 columns for FireMatrix pattern.
  • Fixed bugs if rows are not equal columns.
  • Fixed bug in MatrixNeoPatterns constructor.
  • Added SUPPORT_ONLY_DEFAULT_GEOMETRY compile option.
  • Added loadPicture() for 16 bit pictures.
  • Ticker now supports multiple characters and DIRECTION_NONE.
  • Fixed bugs if rows are not equal columns.
  • Fixed bug in MatrixNeoPatterns constructor.
  • Added SUPPORT_ONLY_DEFAULT_GEOMETRY compile option.
NeoPatterns - Removed blocking wait for ATmega32U4 Serial in examples

Published by ArminJo about 4 years ago

NeoPatterns - Added RGBW support, *D and other functions

Published by ArminJo over 4 years ago

  • Added support for RGBW patterns. Requires additional 200 bytes for the AllPatternsOnMultiDevices example. Commenting out #define SUPPORT_RGBW or defining DO_NOT_SUPPORT_RGBW saves 400 bytes FLASH for the AllPatternsOnMultiDevices example.
  • Use type Print * instead of Stream *.
  • Changed function addPixelColor().
  • Added function NeoPixel::printInfo(aSerial).
  • Added *D functions, which take the duration of the whole pattern as argument.
  • Added OpenLedRace example.
  • Added empty constructor and init() functions.
  • Added function updateAllPartialPatterns().
NeoPatterns - ESP versions

Published by ArminJo almost 5 years ago

  • Ported to ESP8266 and ESP32.
  • Changed signature of NeoPatterns(NeoPixel * aUnderlyingNeoPixelObject). Swapped 4. and 5. parameter to make it consistent to the NeoPixel signature.
  • Function setPixelOffsetForPartialNeoPixel() in NeoPixel.cpp added.
NeoPatterns - New pattern, swapped parameters and rewrite control logic

Published by ArminJo almost 5 years ago

  • Rewrite of most patterns control logic.
  • Function drawBar() in NeoPixel.cpp added.
  • Swapped parameter aNumberOfSteps and aIntervalMillis of Stripes().
  • Pattern HEARTBEAT and BouncinBall added.
  • Swapped first parameter and added parameter aDirection to Fire().
  • Changed internal functions.
  • Reworked UserPattern.
  • Function getPatternName() added.
  • Function printPatternName() added.
  • Improved support for pattern running on parts of NeoPixel bars etc.
  • New example for 3 pattern running on parts of one NeoPixel bar.
  • New simple example.
  • Changed signature of Stripes() and reset ActivePattern to PATTERN_NONE at the end of each pattern.
NeoPatterns - Support of segments of NeoPixel bars etc.

Published by ArminJo about 5 years ago

NeoPatterns - First version as Arduino library

Published by ArminJo over 5 years ago