Hello everyone today I will be talking about another kid bright thing it will be about a Multitask in kid bright so let's start! So how can you do a multitask? WELL, you can do a multitask if you get the Task from the advance and rename it to the certain task you want it to do. You have to rename it so that the board will know which command is which. So you can pretty much do a bunch of things with this thing. Anyways let's just start so the first thing you will need is, of course, the task block and we are going to make 2 tasks, but you can do how many you want, but I am going to make 2 task. So next you put in the forever block. So the first task I am going to make is a USB task and another is the Temp task. So I will start with the USB ask first. So first you will get the if do block and the 1 switch pressed block from logic. Then get the write USB status (on) block. Then do the same thing but get a switch 2 pressed block and make the write USB status (off). That is one task already the USB can be like a fan, a light bulb or anything that has a USB cable.
Next is the other task the temp task. First, get the forever and then the delay block you can change it to like 3-5 seconds. Next, get the if do else block and then get the = block put the temp sensor at the front and a number block at the end. You have to change the symbol of the = to a >. Next, in the do you put LED scroll when ready with the temp sensor. Under that, you put the wait matrix ready block from the wait. Then you can draw a sad face or do the USB thing again. I just drew a sad face in it. Next, just put the LED scroll when ready and put it with the temp sensor. Then get the wait LED matrix ready and just draw again or use the USB again like turning it off or on.
Next is the other task the temp task. First, get the forever and then the delay block you can change it to like 3-5 seconds. Next, get the if do else block and then get the = block put the temp sensor at the front and a number block at the end. You have to change the symbol of the = to a >. Next, in the do you put LED scroll when ready with the temp sensor. Under that, you put the wait matrix ready block from the wait. Then you can draw a sad face or do the USB thing again. I just drew a sad face in it. Next, just put the LED scroll when ready and put it with the temp sensor. Then get the wait LED matrix ready and just draw again or use the USB again like turning it off or on.
Comments
Post a Comment