Skip to main content

When the sensor is dark, let the USB work

Hello everyone today I will be talking about another tutorial with Kid bright again so when it is dark you can turn on the light, fan or other stuff on. So let's begin first you need a forever block and a set x to block. You can change it. It doesn't really matter.

So next you get the light level sensor from the sensor. Next, you put a LED 16x8 2 chars block underneath it. Next a delay 0.5 block underneath that. Now you get an if do else block from logic. In the if you get a = block and change it to a < symbol. Next, you get an X block at the front and a number block at the back you can change it to 30-50. I did 50 because why not? At do you get an LED 16x8 scroll block and you get a print block. You can change the word to when it is dark you want it to say this on the screen. Next, get a write USB (on) block from the I/O and next a delay block set to 3.5 or 3.

At the else do the same thing except change the word in there for when it is day time you want it to say this when it is day time. Make the write USB block off now. and then a delay block set to 3.5 or 3. Then underneath the if do else block you put a clear 16x8 block underneath it. If you did it correctly it will look similar to the picture.
Anyways that is all for today bye!

Comments

Popular posts from this blog

How to make a countdown number - Kidbright

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

making a video for my school project

Hello everyone! Today I will talk about Cooking! So the title might sound a bit off, but my school has this project for everyone in the school to do it is called "English Zone". So my computer teacher said that we had to make a cooking video also one more thing about the English Zone project it's that we HAVE to speak in English like no absolute Thai at all anyways. So I made a cooking video cause my teacher said so I made a video on how to make Yorkshire pudding. Yorkshire pudding is a dish that is from the U.K. There are many recipes on how to make Yorkshire pudding I used a recipe that used olive oil and less flour. It didn't turn out well or taste well..... ANYWAYS!! At least I made the video! The video was the most important. the ingredients in order to make Yorkshire pudding is flour, milk, eggs, salt and olive oil if you want to make look it up. So anyways it is hard to make it though. You can eat this with steak, fries, coffee and etc. It's easy to make an

Happy new year 2019!

hello it is me focus! and it has been 1 full year of this blog! and let me tell you something every year that my family does we would make cookies! which kind of cookies? Butter cookies! At school i was known for the best baker there. I know most the ingredients so yeah. download calendar 2019 I would always give my cookies to my friends and teachers! But if they say they don't want any then i don't give them any! Because they asked for it. Next is that we would make a calendar every year since 2009 till this year 2019 when i was 1 year old i can't remember what the old ones look like when i came here in Thailand. well i guess that is all bye!