Lights? Check

A project log for LZRTag - Flexible DIY Lasertag

An easy to build, program, modify and use AVR and ESP based Lasertag system for everyone!

xasinXasin 09/12/2019 at 21:160 Comments

Alright, so it seems Aisler is taking their sweet time with the new boards...
It's still quicker than LCSC, and they'll be here tomorrow, but the wait was a biiit annoying. Happens <.<

The DigiKey components arrived though, and oh boy: <3

In the mean time however, I was able to work on some other, extremely important and long-awaited code rewrite:
The light handling! 

Before, a lot of the patterns were defined in a rather static manner, making it hard to add new effects and get them integrated in the code in a smooth fashion.

I was finally able to change this by using a completely new, class-based approach with a proper, abstract interface and a list of components to render.
The result is a very easy to expand, stable, and quite stunning new effects system!

I think the video here shows it off best:

I'll be reviewing the changes in a GitHub PR soon. Those that are interested can poke me for a link :>

And next monday?
Time for the new hardware to be soldered~