Issue with Shift Function / WDT Reset on ESP8266#15
Open
henmel wants to merge 43 commits intoAaronLiddiment:masterfrom
Open
Issue with Shift Function / WDT Reset on ESP8266#15henmel wants to merge 43 commits intoAaronLiddiment:masterfrom
henmel wants to merge 43 commits intoAaronLiddiment:masterfrom
Conversation
Aaron helped to update my fork; replaced all the dependencies and make it nice ;)
Added link to https://github.com/marcmerlin/FastLED_NeoMatrix as an alternative to this library
Show both reverse order matrices and reverse order tiling
Improve documentation to show reversed order
Fix division by 0 on single point draw, add DrawPixel.
Added pointer to SmartMatrix::GFX to run LEDMatrix code on RGB Panels
This is used by SmartMatrix::GFX zero copy and saves considerable memory on larger arrays when using SmartMatrix. See marcmerlin/FastLED_NeoMatrix_SmartMatrix_LEDMatrix_GFX_Demos@e16c373
Added support for using an externally allocated memory array.
Update README.md
height and width can be bigger than 256 (ILI3941 is 320x240). If the array is bigger than 32K, signed pointers in the 1D array got negative and crashed the code. Similarly mXY multiplies 2 uint16_t, so it should be uint32_t.
Support Matrices with more than 32K pixels.
This allows for faster development/debugging.
More info on how to run/debug LEDMatrix code on linux
Owner
|
I have just verified my original code, none of the variables go out of bounds. But it looks like you are using a modified version of my library and it wouldn't be the first time someone has created problems with their changes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Thanks for a great library. I am running into a WDT Reset issue on my ESP8266 when using some of the library Shift functions.
It happens when I use the leds.ShiftUp() or leds.ShiftDown(), but works fine when using the leds.ShiftLeft() or leds.ShiftRight()
Using a provided example, please see below:
I get the following error right after the boot.
Thanks again. Your help is greatly appreciated!