Hello everyone today I will be talking about a Microbit tutorial. Not a kid bright one, but it's a Microbit one. So first up you must go into the website and start coding. First, get the on shake block underneath that get a new variable and name it "dice" get the set "dice to block. Then get a pick random block and set it to 0-5. The number 0 actually counts so 0-5 will = 1-6. Next, get the if-else block and click the + button 4 times you will see it when you do it. Next, get the variable of dice and put it in the if in every single one of them and put the 0-5 in every single one of them so the first one is 0 next is 1 and so on. Next, just draw every single picture on what you want that number to look like as a picture for the screen its only a 5x5 LED screen so it is a small screen. Anyways that is all pretty simple, but works nicely! That's all bye!
Hello everyone! Today I will be talking about how to make a countdown number in Kid-Bright. You might not know what I will be talking about, I had to write about this so let's just start! First, go to the software and drag the forever block and get the set to block as well. You don't have to change it, but you can if you want. Get the LED 2 chars block and put the block that lets you print or tell what to say not literally, but just like tells you what it is trying to tell you or speak to you or something. So anyways you write what you want on the block and then get the if do block and the = block. Next, get the switch 1 block from the sensor topic and the number block from the math topic. Next, get the repeat (while) block from the loop topic. Get the = block and 1 number block and change it to 0 and the X block in Math. Get another set x to block and a + block from math and another x and number block. Get the LED 2 chars block and put ANOTHER x block and last, but not
Comments
Post a Comment