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

The amusement park on children day

hi again it is me focus and today i am talking about children's day today is children day in Thailand and i went to an amusement park the park it might had the world's largest wave pool i am not sure but it might okay.anyways i went to a park called "siam park" you can search it up on youtube or google and it is in Thailand in Bangkok so i went and played 9 rides because i didn't had much time because my dad wanted to work so i tried to be fast so i played rides called merry go round,a roller coaster,same thing like a roller coaster but not called the vortex,another roller coaster,balloon race,cant remember,log flume,cant remember again,giant drop and that is all but i will how you a picture or maybe a video if i can find it so that is all (after the some of the rides i couldn't feel for a bit and here is a video that i did today) the most scariest one of them all was the giant drop so give a big thanks to my mom and dad for being able to go her...

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!