Go Down

Topic: Help on rewriting code for led mask (Read 691 times) previous topic - next topic

mightysongs

May 21, 2017, 10:49 pm Last Edit: May 21, 2017, 10:55 pm by mightysongs
I am currently building an neopixel mask using WS2812B led strips I am following this this tutorial https://www.youtube.com/watch?v=KEPldnI0fgk. The guy who builds this uses a Particle.io Photon board and his code is built around that. By any chance can the code be rebuilt to work on an Arduino Nano? This is the github for the code https://github.com/anthony-ngu/NeoPixelMask.

I don't want any wifi capability I just want a push button to be able to change the modes.

Thanks Reece

PaulRB

In theory, yes. You will need to remove the WiFi code of course. However, the code is quite long. I am concerned it might not fit on Nano. You will have to try it and see if it fits.

If it does not fit, there will be ways to reduce the size of the code. It is very inefficiently written with many long sections of repeated code which could be shrunk down significantly.

ieee488

I have tried to remove the code but it tries and uses the Particle Photon library and keeps throwing up errors when trying to compile it for the arduino nano.
$19 vs your time

ieee488

Not the point
Then what is the point?

You seem  incapable of re-writing the code.

Did you expect someone to hand the re-written code on a silver platter?


PaulRB

#4
May 22, 2017, 05:55 pm Last Edit: May 22, 2017, 05:56 pm by PaulRB
This thread now makes no sense. @mightysongs why have you deleted posts?

Go Up