Skip to content

Can't use Adalight on second screen #7

@preiter

Description

@preiter

I attempted to use the Adalight code with my second screen, but no matter what I did the colors seemed to be coming from the primary display.

After some debugging, the issue seemed to be coming from this line (line 190 of Adalight.pde)

dispBounds[d].x = dispBounds[d].y = 0;

This line was clearing an x offset of 2560 to 0.

Once I got rid of that line of code, it worked fine.

Also, down around line 250 the code is creating and transmitting data for leds.length - 1. I'm not sure what the reason for the -1 is, but my last LED was not getting programmed. I got rid of the -1 and it worked fine.

As a side note, I adapted this project to work over wifi by using the Processing Networking library in place of Serial. My client is running on an esp8266. It was a really easy change to make and way more convenient for my setup than running an extra cable to the TV. You might consider that as a future feature for this project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions