Stormworks: Build and Rescue

Stormworks: Build and Rescue

Windows XP Oct 5, 2019 @ 10:24pm
How do I use RGB lights? How can I edit their colors with microcontrollers?
I am trying to get the RGB lights to work. I'm just trying to get it so that I have 3 toggle switches with each of them corresponding to red, green or blue. If the "green" switch is off, it should be sending red and blue to the light making it purple. I can't seem to figure it out. They never seem to turn on.

I have tried using a microcontroller that converts switch on/off states to numbers and then uses composite number binary or composite number (write) to write a value. For each of the three switches, I have tried sending a value of 0 for off and 1 for on on each of the channels 1, 2 and 3 but they never turn on. I've also tried sending 32 instead of 1 to the three channels im trying to send to my lights but nothing happens. They don't even turn on. I have made sure that they are powered.

What am I doing wrong?
< >
Showing 1-2 of 2 comments
KaykaysNL Oct 6, 2019 @ 4:31am 
simple question.. do they have power?
ElfBossHogg Oct 6, 2019 @ 9:24am 
This is a great video by StormRunner Gaming covering the details on RGB lighting...
https://youtu.be/3EFheTdla4E

In short, you assign a number value between 0 and 1 for three seperate channels (Red is channel 1, Green is channel 2 and Blue is channel 3). You combine those into your composite output using the Write Number logic block and pass that output to your light. After that just provide power and you have light.
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: Oct 5, 2019 @ 10:24pm
Posts: 2