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

THINK SPACE B2S at Central Festival Eastville

Hello everyone today I will be talking about Central Festival Eastville. If you didn't know Central Festival Eastville is a mall and has a lot of places to buy stuff. So I went there with my dad because he had a meeting there with some people and we had some lunch as well I tried the truffles and the mac and cheese there. Though I think I kinda wanna try and make my own truffles now! Anyways I looked around and we went to the Food section. I mean I call it the food section because there you can buy a lot of food and there are different type of food there is dessert, bread and many more! I wanted to look around more, but we couldn't and we quickly went to the THINK SPACE section. A kingdom for book and stationery lovers... It is a book store and is very quiet. though I must say also of the stuff there was a bit expensive for the things that weren't the books of course. It is a large book store that looks very wide, designed with space to walk around, explore and read a bu...

Interland - Be Internet Awesome from Google

Hello everyone! It is me Focus and today I will be talking about Interland from Google! You might be confused about what Interland is. So Interland is a game that was created by Google to let kids play. The game teaches about the internet.  Interland - Be Internet Awesome  There are 4 stages. The first stage teaches you that we need to be nice to everyone on the internet and that we should learn who are the bullies and who are the innocent. The second stage is about information on the internet. We should know which news are lies and which are true. We can't let our selves be deceived by the fake news on the internet! Don't just trust what everything on the internet is true! We must know which is true and fake. The third stage is about who we should share our information about on the internet, for example, your location of where you know you should send it to your friends and family, not the public. There is also information about your number, ID number and sec...

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!