Chapter 2: Solar Array Repair

Day 08: Adding some color to this dark place

The dark is getting to you, so add some color. Wire an RGB LED and mix red, green and blue into any color with analogWrite(). Learn how PWM makes an in-between brightness, and write a function that sets a color in one line.

This lesson needs a free account. Sign in to keep going · About the course

A lesson from 30 Days Lost in Space (31 filmed lessons (Day 0 to Day 30), about 10 hours of video), taught by Dr. Greg Lyzenga, a Harvey Mudd College physics professor and NASA JPL scientist.

The video lessons are free to watch. Get the kit at craftingtable.com — $97. 30-day returns.