Goonstation Forums
What's the RGB signal for LED components? - Printable Version

+- Goonstation Forums (https://forum.ss13.co)
+-- Forum: Discussion (https://forum.ss13.co/forumdisplay.php?fid=6)
+--- Forum: General Discussion (https://forum.ss13.co/forumdisplay.php?fid=7)
+--- Thread: What's the RGB signal for LED components? (/showthread.php?tid=7643)



What's the RGB signal for LED components? - NesMettaur - 12-05-2016

I'm not sure if it's supposed to be a super secret thing or not, but it doesn't hurt to ask anyways.

But yeah, as noted on the wiki the current signal input for changing an LED component's color isn't known and I have no idea where to start with writing it up. So I'm curious if anyone else knows what it is or not.


RE: What's the RGB signal for LED components? - atamusvaleo - 12-05-2016

Pssssst! Read the MechComp book...

*crawls back into the shadows


RE: What's the RGB signal for LED components? - Vitatroll - 12-05-2016

I'm not sure what you're asking for?

If it's what I think you're asking for, then just send a color hex to the component. It's just #RRGGBB, but in hex form, so #ff0000 for red, #0000ff for blue, and #ff00ff for megenta, etc.

As an aside, random color generators make great dancefloors.


RE: What's the RGB signal for LED components? - NesMettaur - 12-05-2016

(12-05-2016, 02:05 PM)atamusvaleo Wrote: Pssssst! Read the MechComp book...

*crawls back into the shadows
whoops

(12-05-2016, 02:32 PM)Vitatroll Wrote: I'm not sure what you're asking for?

If it's what I think you're asking for, then just send a color hex to the component. It's just #RRGGBB, but in hex form, so #ff0000 for red, #0000ff for blue, and #ff00ff for megenta, etc.

As an aside, random color generators make great dancefloors.
Yep, that's it. Thanks.

I should've figured it was hexcode in hindsight, whoops.


RE: What's the RGB signal for LED components? - atamusvaleo - 12-06-2016

I was trying to be super secretive. Ya blew it, Vitatroll.


RE: What's the RGB signal for LED components? - Vitatroll - 12-06-2016

(12-06-2016, 06:05 AM)atamusvaleo Wrote: I was trying to be super secretive. Ya blew it, Vitatroll.

Blame the Dog; it tells me what to do. staredog

Also