Skip to main content

Microbit dice

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!


Comments

Popular posts from this blog

Happy (late) new years!

 So I know it kinda has been a week already, but I was just really lazy and I'm also sorry that I didn't really update for a long time. Anyways Happy New Years! My lack of motivation is really over 9000. Though I kinda haven't updated for a long time. So let's just hope that this year will be a better year because of, you know Covid. I mean it has been a pretty rough year and I must admit that everyone had a pretty rough year including me. My mom's best friend kinda has to have surgery and I am pretty close friends with their sons. So I hope that their mother will be alright. I am just really tired and I have almost completely forgotten I had this blog. SO HERE I AM. I mean I have started learning Hapkido and I have been expecting a test for it this year. If I passed then I will be able to get a yellow belt! If I am lucky I might get around a blue belt when it is time for me to leave Thailand. To be honest, I just want to learn self-defence, but it would be great if...

It's my Birthday!

 Hello everyone! Today I will be talking about my Birthday! Well, it's not my birthday yet tomorrow will be my birthday. Of course, because of COVID-19, I can't really go anywhere other than home and school. Oh yeah, my school is also opened now. No more online classes! Hooray! Even though the cases keep getting higher and higher every day! hooray! I mean happy birthday to me? I don't really know what to wish for though. I don't really know what I want so I will just say good luck and I want me and my Mom to be happy this year. This year I will be 13 now. I would love to celebrate with my friend's house, Noodee. But tomorrow it's a school day and also COVID-19 to not allow me to visit them. I am sorry if this was really, really, REALLY short. I am just not motivated to do anything and it's like 8 pm sooooo goodbye!

Lost My Phone at IKEA

 Hello everyone! It is me Focus and today I will be talking about me losing my phone at IKEA. Don't worry I got it back. So me and my mom went shopping to IKEA. We ate lunch then went to the maze that you call IKEA. Me being me went to sit on every small  armchair. Okay not just the small sized ones. Everytime I sait on an armchair I would do this villian pose just to be silly. My goal was to creep everyone out and to also cheer my mom up because I noticed she was a bit sad. Which worked, but of course something dreadful happned. I LOST MY PHONE. Now It wouldn't haven been so bad except It was  bad. I noticed that my phone was gone right when we were about to leave IKEA. We immedietly went back inside and searched for the areas that I sat at. We decided to call my dad and he said that he could turn on the noise for 5 mintues since I also muted my phone. Then he told me a worker at IKEA found it  and us to go to the control room. My mom also forgot to buy somethings s...