psieg / Lightpack

Lightpack and Prismatik open repository
GNU General Public License v3.0
1.57k stars 188 forks source link

Prismatik crash, can't terminate program #466

Open QinX opened 3 years ago

QinX commented 3 years ago

After I while prismatik stops working, when I double click to turn on the LEDs nothing happens. When I quit te program it goes away from the taskbar.

But looking in task manager it is still there, I can't even forcibly terminate the program and not even start a new instance. In order to get the lights working again I have to restart my computer.

What's weird is it's worked for the first 2 weeks without any problems and now this happens daily.

I had automatic updating off and no windows updates installed since, though I'm not 100% sure on the windows updates.

QinX commented 3 years ago

New information: It seems like something is freezing up de Wemos D1 that I'm using for driving the LEDs. Once I disconnect the USB from the system the program does terminate.

I've had

define FASTLED_ALLOW_INTERRUPTS 0

define FASTLED_INTERRUPT_RETRY_COUNT 1

on in the sketch because of some flickering of the lights. However I've rearranged some things and there seems to be less interference. So I've commented these out now so let's see if that is the cause.