Quick Order Tool Pimoroni Customs New From Pimoroni
Register Login
Register Login

Delivery region

Choose your delivery region to set your pricing and currency. All prices exclude VAT and other local taxes.

/
Your order is empty
Raspberry PiPicoPimoroniAdafruitBreakoutsBadgewareSmart HomeToolsNew Popular
DisplaysCamerasLED StripsComponentsSensorsEnvironmentalRoboticsAudioRetro/ArcadeYukonFeatherTinyFXMerchandise

Departments

New Popular
Raspberry Pi
Pico
Pimoroni
Adafruit
Breakouts
Badgeware
Smart Home
Tools
Displays
Cameras
LED Strips
Components
Sensors
Environmental
Robotics
Audio
Retro/Arcade
Yukon
Feather
TinyFX
Merchandise
  • 58,698 reviews rated 4.8 out of 5!
  • Volume pricing save on larger orders
  • Credit accounts flexible payment options
  • Expert support by email or phone

Search

Filter

  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

RGB LED for micro:bit

RGB LED for micro:bit - The MonkMakes RGB LED for micro:bit provides a colourful add-on to your micro:bit. Connect it up with alligator clips and then use the three outputs of your micro:bit to control the red, green and blue channels to mix up any colour of light you want. RGB LED for micro:bit

We no longer stock this product

It's sad to say goodbye but sometimes we have to retire products to make way for new things.

RGB LED for micro:bit

The MonkMakes RGB LED for micro:bit provides a colourful add-on to your micro:bit. Connect it up with alligator clips and then use the three outputs of your micro:bit to control the red, green and blue channels to mix up any colour of light you want.

Features

  • Easy to connect
  • Powered directly from micro:bit pins
  • Useful for teaching color mixing.

Getting Started

Connecting to your micro:bit

Connect the RGB LED to the micro:bit as shown below. When attaching the alligator clips to the micro:bit, make sure that the clips are perpendicular to the board so that they are not touching any of the neighbouring connectors on the micro:bit edge connector.

JavaScript Blocks Editor

Traffic Signal Example

Click on the example below to open the code in the JavaScript Blocks Editor. Once its running on your micro:bit it will cycle through the colors of a traffic signal.

MicroPython

TRAFFIC SIGNAL EXAMPLE

Paste the following code into the Python window and then Download the file and copy it onto your your micro:bit

from microbit import *

def set_rgb(red, green, blue):
pin0.write_analog(red)
pin1.write_analog(green)
pin2.write_analog(blue)

while True:
set_rgb(255, 0, 0)
sleep(4000)
set_rgb(800, 100, 0)
sleep(1000)
set_rgb(0, 1023, 0)
sleep(5000)
set_rgb(800, 100, 0)
sleep(1000)

Guides & tutorials

Customer reviews

Trade newsletter

Join our trade newsletter and we'll keep you up to date with new product launches.

The Good Ship Pimoroni

We've been designing and making electronics in Sheffield since 2012, with our own manufacturing and fulfilment under one roof.

Our business store makes it easy to buy Pimoroni, Raspberry Pi, micro:bit, Adafruit, SparkFun and more in volume, with competitive pricing and support from people who know the products. Need something specific? Drop us a line.

Useful links (we hope)

How to order Quick order tool Contact our business team Pimoroni customs Our retail shop

Pimoroni Ltd.

Unit 1, Parkway Business Park, Parkway Drive, Sheffield, S9 4WN, United Kingdom
Registered in England and Wales Company №: 07510759 VAT Reg №: GB140870721
Terms & Conditions Privacy Policy