 for the circuit python parsec today I wanted to show how you could make a cool little randomized by color led matrix using circuit python and just a little bit of code so if you have a look here I've got a circuit playground blue fruit and I have our little gizmo little uh proto gizmo there and I've attached this i squared c backpack for a bi-color matrix and it just gives us this kind of nice little sci-fi uh readout type of look the computer is thinking that's that's probably what's going on there so if we look at the code here what i'm doing is i'm importing some libraries including time board so i get pin definitions random and from random i'm getting the random integer or rand int and then the library for this actual display which is the ht 16 k 33 backpack i bring in the matrix eight by eight by two that's the bi-color and then i set up that display on i squared c is the matrix i'm setting its brightness at 0.1 and then i'm defining a little list here of colors and you'll see here i've got led red led green and led off which i've actually placed in there twice just to sort of adjust the odds that i won't have an led lit and here's what's going on in the main loop we set a variable called x which is a random integer from zero to seven so that's going to be one of the horizontal uh positions we set a variable called y for a random integer zero through seven so that's going to be the vertical position and then we're setting a color variable which is based on grabbing one of those items in my list either red green off or the other off then we set the matrix this is how we light up we say matrix x y so some position that was selected equals whatever this color is and then we sleep for a tiny little bit of time and repeat that and so we get all these really nice blinky random types of lights going on in here and so that is how you can set some random lights on the bi-color led matrix inside of circuit python and that is your circuit python parsic