Coder Social home page Coder Social logo

Comments (7)

noah1510 avatar noah1510 commented on July 18, 2024 3

Version v1.7.0 now includes the "unlimited" SegmentCount (There is a hardware limit though) and more fixes.

from ledcontroller.

noah1510 avatar noah1510 commented on July 18, 2024

I almost expected that issue to come.
I think at the moment this is not working because the libraries are compiled before the your program.
While compiling the library the compiles assumes MAX_SEGMENTS = 8 and creates the array witch a width of 20.
However while including the library MAX_SEGMENTS is overridden to 20 so the compiler expects to include a library with an array that has a width of 20 but only finds a library which has a width of 8 which causes the error.

from ledcontroller.

noah1510 avatar noah1510 commented on July 18, 2024

I will look into implementing a solution for this soon.
If you want to, you can try to implement a fix for this and create a pull request.
https://github.com/bartoszbielawski/LEDMatrixDriver might be a great reference on how to handle such a situation.

from ledcontroller.

noah1510 avatar noah1510 commented on July 18, 2024

I removed MAX_SEGMENTS the only limit on the segment count is your ram (and speed) this should solve your problems.
I want to do some more testing before I add this to the next version of the library so you have to use the version on the repository to test if it works for you.

Feedback is appreciated.

from ledcontroller.

LennartHennigs avatar LennartHennigs commented on July 18, 2024

Cool! Thx.
Will test it out today or tomorrow on a couple of boards and let you know...

from ledcontroller.

LennartHennigs avatar LennartHennigs commented on July 18, 2024

Compiled and works on ESP32 and Nano.
Thx!

from ledcontroller.

noah1510 avatar noah1510 commented on July 18, 2024

I will close this issue now the feature will be added in 1.7.0 after I looked for possible memory leaks and added an init function (to support more boards)

from ledcontroller.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.