neskweek / LightSaberOS

Operating System for Arduino based LightSaber
Creative Commons Zero v1.0 Universal
80 stars 25 forks source link

After switching off light saber it won't power on anymore with main switch only complete reset #63

Open Basprojects opened 7 years ago

Basprojects commented 7 years ago

Hi,

After receiving all the items I needed to do the built I managed to get everything working with neopixel and a arduino pro mini! It works great and I'm really happy with it 👍

There is one issue though, if I long press the main switch to turn off the blade, it switches off, but afterwards it does not respond on anything anymore... I have to perform a complete reset on the arduino board or disconnect the power supply to make it work again... Any reasons why it would do that??

Protonerd commented 6 years ago

How many neopixels are you trying to use? Sometimes if you are using too many, the board will simply run out of dynamic memory and the code will end up in nirvana. That is why currently a limitation of max 120 pixels is recommended.

Basprojects commented 6 years ago

Hi,

Thanks for the reply.

I only have 13 neopixels attached... I allready tried several boards now all with the same outcome. Also when looking at the serial monitor, after pressing long main switch nothing happens anymore.

I tried to search in the config.h file and the button.h file but did not find any strange code there.

Maybe you could sent me an .INO file setup for 13 neopixels that should work.. Maybe I'm overlooking something really tiny/

Thanks anyway.

DnkMemes commented 6 years ago

Hello,

I am having the same issue and was hoping to check in and see if anyone has figured anything out. Amy help would be greatly appreciated.

Thank you

Protonerd commented 6 years ago

This Git is already old and not any more maintained. For a hugely improved code go to FX- SaberOS.