Skip to content

Changing number of LEDs breaks the app #14

@Aaryan-Kapoor

Description

@Aaryan-Kapoor

Great project, but slight issue. I have an LED strip with approximately 140 LEDs throughout its length. The app works fine at the hardcoded 57 LEDs but completely breaks when I change it to 140 LEDs. I made the changes specifically in:

In the controller directory:

  1. Under devices.py: change led_num to 140 from 57.

In the firmware directory:

  1. In lightbar.ino change NUMLED to 140 from 57.
  2. In main.py change NUMLED to 140 from 57

I am using a Raspberry Pi Pico
This light strip: https://a.co/d/1lKjcDb

I would appreciate a fix or a guide on how to fix it as this is truly an amazing project!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions