diff --git a/README.md b/README.md
index ee72006..b349114 100644
--- a/README.md
+++ b/README.md
@@ -1,16 +1,32 @@
+
+
# [NeoPatterns](https://github.com/ArminJo/NeoPatterns) for NeoPixel strips and Snake game for NeoPixel matrix.
-This is an extended version version of the [NeoPattern example by Adafruit](https://learn.adafruit.com/multi-tasking-the-arduino-part-3?view=all).
+This is an extended version version of the [NeoPattern example by Adafruit](https://learn.adafruit.com/multi-tasking-the-arduino-part-3?view=all).
New Patterns are added, a [snake game running on a matrix](https://github.com/ArminJo/NeoPatterns/blob/master/examples/SnakeGame/SnakeGame.ino) is included and you can run [multiple patterns simultaneously on the same strip](https://github.com/ArminJo/NeoPatterns/blob/master/examples/TwoPatternsOnOneStrip/TwoPatternsOnOneStrip.ino).
-### [Version 3.1.0](https://github.com/ArminJo/NeoPatterns/archive/master.zip) - work in progress
+### [Version 3.1.2](https://github.com/ArminJo/NeoPatterns/archive/master.zip) - work in progress
+
+[![Badge License: GPLv3](https://img.shields.io/badge/License-GPLv3-brightgreen.svg)](https://www.gnu.org/licenses/gpl-3.0)
+
+[![Badge Version](https://img.shields.io/github/v/release/ArminJo/NeoPatterns?include_prereleases&color=yellow&logo=DocuSign&logoColor=white)](https://github.com/ArminJo/NeoPatterns/releases/latest)
+
+[![Badge Commits since latest](https://img.shields.io/github/commits-since/ArminJo/NeoPatterns/latest?color=yellow)](https://github.com/ArminJo/NeoPatterns/commits/master)
+
+[![Badge Build Status](https://github.com/ArminJo/NeoPatterns/workflows/LibraryBuild/badge.svg)](https://github.com/ArminJo/NeoPatterns/actions)
+
+![Badge Hit Counter](https://visitor-badge.laobi.icu/badge?page_id=ArminJo_NeoPatterns)
+
+
+[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://stand-with-ukraine.pp.ua)
+
+Available as [Arduino library "NeoPatterns"](https://www.arduinolibraries.info/libraries/neo-patterns).
-[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
-[![Installation instructions](https://www.ardu-badge.com/badge/NeoPatterns.svg?)](https://www.ardu-badge.com/NeoPatterns)
-[![Commits since latest](https://img.shields.io/github/commits-since/ArminJo/NeoPatterns/latest)](https://github.com/ArminJo/NeoPatterns/commits/master)
-[![Build Status](https://github.com/ArminJo/NeoPatterns/workflows/LibraryBuild/badge.svg)](https://github.com/ArminJo/NeoPatterns/actions)
-![Hit Counter](https://visitor-badge.laobi.icu/badge?page_id=ArminJo_NeoPatterns)
+[![Button Install](https://img.shields.io/badge/Install-brightgreen?logoColor=white&logo=GitBook)](https://www.ardu-badge.com/NeoPatterns)
+
+[![Button Changelog](https://img.shields.io/badge/Changelog-blue?logoColor=white&logo=AzureArtifacts)](https://github.com/ArminJo/NeoPatterns#revision-history)
+
+
-Available as Arduino library "NeoPatterns"
| YouTube Video of NeoPatternsDemo | YouTube Video of MatrixDemo on a 10x10 matrix |
| :-: | :-: |
@@ -192,7 +208,13 @@ This example renders a slow "background pattern" and a fast "foreground pattern"
It also shows, how to dynamically **determine the length of the attached strip** und to resize the underlying pixel buffer.
# Revision History
-### Version 3.1.0 - work in progress
+### Version 3.1.2 - work in progress
+
+### Version 3.1.1
+- Added parameter `aRepetitions` to pattern `RainbowCycle`.
+- Improved layout of character c.
+
+### Version 3.1.0
- Added functions `printConnectionInfo()`, `fillRegion()`, `stop()` and `stopAllPatterns()`.
- Fixed brightness initialization bug for Neopixel with UnderlyingNeoPixelObjects.
- Renamed `updateAll*` and `updateAndWait*` functions.
diff --git a/library.json b/library.json
index e909405..a12936f 100644
--- a/library.json
+++ b/library.json
@@ -6,7 +6,7 @@
"type": "git",
"url": "https://github.com/ArminJo/NeoPatterns"
},
- "version": "3.1.0",
+ "version": "3.1.1",
"exclude": "pictures",
"authors": {
"name": "Armin Joachimsmeyer",
diff --git a/library.properties b/library.properties
index a93911f..1561a37 100644
--- a/library.properties
+++ b/library.properties
@@ -1,9 +1,9 @@
name=NeoPatterns
-version=3.1.0
+version=3.1.1
author=Armin Joachimsmeyer
maintainer=Armin Joachimsmeyer
sentence=Patterns for NeoPixel strips and matrixes including the patterns of the NeoPattern example by Adafruit.
-paragraph=Patterns from Adafruit are: - SCANNER
- STRIPES
- DELAY
- PROCESS_SELECTIVE
- FADE_SELECTIVE
The original SCANNER pattern is extended and includes the CYLON as well as the ROCKET or FALLING_STAR pattern. The more versatile STRIPES pattern replaces the old THEATER_CHASE one.
NeoPixel-Matrix pattern are:- MOVING_PICTURE
- MOVE
- TICKER
- FIRE
- SNAKE
The SNAKE pattern is an implementation of the Snake game and can be played with 2 or 4 buttons attached to the Arduino.
The SnakeAutorun example will start your own code to solve the Snake game provided in the function getNextSnakeDirection().
YouTube demos are available under https://github.com/ArminJo/NeoPatterns.
Includes an OpenLedRace example for 2 players.
New: New pattern FLASH. Renamed and added functions.
Revision History
+paragraph=Patterns from Adafruit are: - SCANNER
- STRIPES
- DELAY
- PROCESS_SELECTIVE
- FADE_SELECTIVE
The original SCANNER pattern is extended and includes the CYLON as well as the ROCKET or FALLING_STAR pattern. The more versatile STRIPES pattern replaces the old THEATER_CHASE one.
NeoPixel-Matrix pattern are:- MOVING_PICTURE
- MOVE
- TICKER
- FIRE
- SNAKE
The SNAKE pattern is an implementation of the Snake game and can be played with 2 or 4 buttons attached to the Arduino.
The SnakeAutorun example will start your own code to solve the Snake game provided in the function getNextSnakeDirection().
YouTube demos are available under https://github.com/ArminJo/NeoPatterns.
Includes an OpenLedRace example for 2 players.
New: New pattern FLASH. Renamed, extended and added functions.
Revision History
category=Display
url=https://github.com/ArminJo/NeoPatterns
architectures=avr,megaavr,esp8266,esp32,stm32,STM32F1
diff --git a/src/NeoPatterns.h b/src/NeoPatterns.h
index 686536e..9b4688e 100644
--- a/src/NeoPatterns.h
+++ b/src/NeoPatterns.h
@@ -48,10 +48,10 @@
#define PROGMEM
#endif
-#define VERSION_NEOPATTERNS "3.1.0"
+#define VERSION_NEOPATTERNS "3.1.1"
#define VERSION_NEOPATTERNS_MAJOR 3
#define VERSION_NEOPATTERNS_MINOR 1
-#define VERSION_NEOPATTERNS_PATCH 0
+#define VERSION_NEOPATTERNS_PATCH 1
// The change log is at the bottom of the file
/*
@@ -390,6 +390,10 @@ void __attribute__((weak)) UserPattern2(NeoPatterns *aNeoPatterns, color32_t aCo
#endif
/*
+ * Version 3.1.1 - 9/2022
+ * - Added parameter aRepetitions to pattern RainbowCycle.
+ * - Improved layout of character c.
+ *
* Version 3.1.0 - 8/2022
* - Added functions printConnectionInfo(), fillRegion(), stop() and stopAllPatterns().
* - Fixed brightness initialization bug for Neopixel with UnderlyingNeoPixelObjects.