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

Happy (late) Mother's day!

Hello everyone! It's me Focus and today I will be talking about Mother's day! Well, I forgot to write about Mother's day yesterday, but here I am! At least I didn't forget it completely! So Happy Mother's Day to everyone! I hope you all had/have a great Mother's day yesterday! So today, of course, is on the Topic of mothers!  Everyone has Mother's right? I mean you can't be born unless you have a Mother, but there are also other kinds of parents. Like Adopted parents. If you don't have parents then, of course, you have Adopted or Stepparents. No matter what a mother is someone who cares for you dearly no matter if they are family-related or not. I care and love my Mom a lot and she loves me too. You know that thing like Mother's instinct? Yeah never mess with Mother's especially if it's a wild animal. That is just a heads up. Anyways I'm sure a lot of people love their Moms some don't. Either way, we must be together with our fami...

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...

Why do we need to know our future?

Hello everyone! It's me Focus and today I will be talking about the "future". So when you are a kid or something people will always ask or expect "what kind of job do you want to do in the future?" stuff like that. I usually get asked what I want to be when I grow up. So I do what a regular kid would do think what I want to be when I grow up, but in reality, I don't really know what I want to be when I grow up. I mean I kinda know what kind of job I want somewhere in the technical/ business field, but I still don't know what specific  job I want. I mostly do research on what kind of jobs there are in the world and let me tell you there are a lot  of jobs there are in the world. Most kids choose a popular day to day jobs like doctors, policemen, etc, but there are even more jobs out there in the world like freelancers or detectives, etc. So I mostly try and find more suitable jobs for me. When you are young and a friend who is also young asked what you wa...