From 641e7dcafc1f54fa045476f6d3473cfa1eb537dc Mon Sep 17 00:00:00 2001 From: Martin <25747549+martgras@users.noreply.github.com> Date: Mon, 6 Dec 2021 12:28:10 +0100 Subject: [PATCH] Fix max7219digit scroll mode (#1698) --- components/display/max7219digit.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/display/max7219digit.rst b/components/display/max7219digit.rst index 692bb6c7e..dc6d26ebe 100644 --- a/components/display/max7219digit.rst +++ b/components/display/max7219digit.rst @@ -115,7 +115,7 @@ They can also be changed in the Lambda by adding the following command: - **on/off** -> switch scrolling on or off, use true or false -- **mode** -> 0 = Continuous scrolling, 1 = Stop at end and reset +- **mode** -> max7219digit::CONTINUOUS for continuous scrolling, max7219digit::STOP = Stop at end and reset - **speed** -> Set speed of scrolling (ms for every step of one dot) - **delay** -> pause time at start of scrolling - **dwell** -> pause at end of scrolling (only in mode 1) @@ -127,9 +127,9 @@ They can also be changed in the Lambda by adding the following command: # ... lambda: |- # ... - it.scroll(true, 0, 100, 5000, 1500); + it.scroll(true, max7219digit::CONTINUOUS, 100, 5000, 1500); // OR - it.scroll(true, 0); + it.scroll(true, max7219digit::CONTINUOUS); // OR it.scroll(true);