RGB LED

From Sketching with Hardware at LMU Wiki
Jump to navigation Jump to search

Description

A regular RGB LED is basically 3 LEDs (one red, one green, one blue) in parallel. This is not a smart LED, for smart LEDs see LED Ring NeoPixel

RgbIMG 9775.jpg

How to connect it electrically

Text

Image(s)

How to control it in MicroPython

1 # todo 
2 # code goes here

A small Program in MicroPython

1 # todo 
2 # code goes here

text

image(s)

Related Tutorial Videos

In this part of the tutorial, we show how to connect an RGB-LED and programming it with Micropython. We first look at what an RGB LED is by building one with 3 separate LEDs. We then look at switching it on and off and how to set the color using the duty cycle in the PWM output.

Background

text

image(s)