DrMemCS / drmem

Full source tree for the DrMem control system
MIT License
3 stars 4 forks source link

:bug: grammar doesn't support color types #101

Closed rneswold closed 4 months ago

rneswold commented 4 months ago

When I added the color type to the API, I forgot to add support to the grammar used by logic blocks.

The format should be #rrggbb where rr, gg, and bb are two hex digits. Also, since we're using the palette crate for our color calculations, see if it recognizes common color names. If so, we could also support #color as value.

beauremus commented 4 months ago

I'm interested in working on this issue ✋🏻

rneswold commented 4 months ago

Argh. Sorry. I wanted to start a RGB LED bulb driver so I needed this sooner than later, so I just did it without visiting GitHub first.