I’m working on an LED project using a couple of Fadecandy devices. For now I’m just testing it on my Mac, but I eventually need this system to be portable and my plan is to drive it using a Raspberry Pi. I would love to use Nerves for this, if possible.
To talk to the Fadecandies, you need to run a C++ server. Then you can send commands to that server using the Open Pixel Control protocol. I can easily wrap that protocol in Elixir, so the main challenge is just getting the server to run alongside my BEAM app in the Nerves environment.
I’ve been reading a bunch of Nerves documentation, trying to understand how to approach this. I think I could use overlays to get the file on the device, assuming I had a precompiled binary. Does this sound right? If so, I need to figure out how to get that binary. I’m guessing that I’m meant to do that using Docker and
mix nerves.system.shell. Does that sound right? I’ve literally never used Docker before, so please let me know if there are other options.
Thanks in advance for any advice you can share!