Sidneys1 has come up with an improved version of my own Disco Inferno, written in NXC. His article has a great explanation of what PWM is and how it works. So if you’re keen to know the finer details about how RS485 can be used to control the brightness of a light or a motor, go check it out: [LINK]. His article does a much better job of explaining it all than mine.
Below is the video he shot of his program.
Very cool stuff!
Bot Bench I'd Rather Be Building Robots

Thanks for the mention, Xander! It’s an honor 😀
Have a nice day,
~Sidneys1