Last summer I created some resources to use with Micro:bit/s for CPC and over the next few months and I will try and share the best bits with the kind permission of CPC.
This first one uses Micropython and a neopixel. The neopixel is from this kit:
The picture below shows how the Micro:bit is set up:
The script shows 3 pictures on the led screen of happy, angry and meh(in between). Whilst doing this it also instructs the neo-pixel to light up red if angry, yellow if meh or green if happy. Why not have a go yourself.
Here is the code:
from microbit import *
np = neopixel.NeoPixel(pin0,1)
np = (255,0,0)#Red
np = (0,255,0)#Green
np = (255,69,0)#Yellow