Giter Site home page Giter Site logo

Comments (6)

partofthething avatar partofthething commented on June 12, 2024

Great point. I'll add a setting for led-cols asap!

from infopanel.

partofthething avatar partofthething commented on June 12, 2024

I just made this change in 715f940 on master branch. Can you try it out for me? Whoops you need this too: 2431b9d

from infopanel.

trlafleur avatar trlafleur commented on June 12, 2024

from infopanel.

trlafleur avatar trlafleur commented on June 12, 2024

Looks like you need to also make some changes in display.py to invoke change in RGBMatrix
My changes below did not work...

def rgbmatrix_options_factory(config):
    """Build RGBMatrix options object."""
    options = RGBMatrixOptions()
    if config['led-gpio-mapping'] is not None:
        options.hardware_mapping = config['led-gpio-mapping']
    options.rows = config['led-rows']
#    if config['led-cols'] is not None:
#        options.cols = config['led-cols']
    options.chain_length = config['led-chain']
    options.parallel = config['led-parallel']
    options.pwm_bits = config['led-pwm-bits']
    options.brightness = config['led-brightness']
    options.pwm_lsb_nanoseconds = config['led-pwm-lsb-nanoseconds']
    if config['led-show-refresh']:
        options.show_refresh_rate = 1
    if config['led-slowdown-gpio'] is not None:
        options.gpio_slowdown = config['led-slowdown-gpio']
    if config['led-no-hardware-pulse']:
        options.disable_hardware_pulsing = True
    return options

from infopanel.

partofthething avatar partofthething commented on June 12, 2024

Does this change to display.py make it work? 2431b9d

from infopanel.

trlafleur avatar trlafleur commented on June 12, 2024

yes...

from infopanel.

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.