 for the circuit python parsec today I wanted to show you how you can use the circuit playground library to make it really easy to use buttons and those are the buttons on the circuit playground blue fruit and the circuit playground express inside of circuit python we have the circuit playground library that makes it really easy to use the features there with simple commands so here in this example what I'm going to use is this button here button a when I press it I'm going to light up a red led the way this works is I have from the Adafruit circuit playground library import cp that brings in all the commands to use the stuff that's built onto this board then in the main loop of the program it's really simple I say if the button is pressed or cp.button a is true is what's implied there then cp.red led is true otherwise when it's false when the button is not pressed then the led is false or not lit now you could do this even more succinctly with this line right here which means that in just three lines of code we import the library and then we set up the while true loop I am saying the cp.red led is equal to the value of cp.button a so if I save that give it a moment to restart loads in that whole library which is not small now it's ready when I press the button here we get the red led now you can see here this is an example of what it would look like in straight circuit python so it's a whole lot more code to do basically the same thing now I'm going to show you a second example here where I will go ahead and comment all that stuff and I'll save this while I'm explaining what's going on here same thing I'm going to import the circuit playground circuit sorry I'm going to import the circuit playground library cp then I'm going to set the cp.pixels that's all the neopixels on the board brightness level film to black turn them off then my main loop same sort of things at this time I'm using cp.button underscore a and cp.button underscore b so when a button is pressed I'm lighting up some of these leds on the left here in yellow and then when I press the b button I'm lighting up some of these leds on the right in blue I can also set up something to pay attention to if I'm pressing them both at the same time so if a and b then we'll fill everything with this sort of pink color but we can go back to individual presses and so that is how you can use the buttons on a circuit playground bluefruit or express in the circuit playground library in circuit python that is your circuit python parsek