Перейти к содержанию

Lesson 33: Colour mixer

English

Mix the light

  • An RGB LED looks like one LED, but it has three inside: Red, Green and Blue.
  • Each one can be dimmed with analogWrite, from 0 (off) to 255 (fully on).
  • Your eye mixes the three lights, so with different amounts you can make almost any colour.

Words for this lesson

Word Meaning
RGB red, green, blue: the three colours of light
mix put together
PWM switching a pin on and off very fast to dim an LED
fade change slowly

Войти или создать аккаунт

IGCSE, A-Level & AP