1 00:00:00,950 --> 00:00:08,690 Hello and welcome to the simulation in which we are going to proceed with the coding of this E.S.P, 2 00:00:08,690 --> 00:00:15,200 first toolbelt, now in the setup function, we need to start the serial communication for debugging 3 00:00:15,200 --> 00:00:19,610 purposes at nine thousand six hundred. 4 00:00:19,610 --> 00:00:28,580 Baudrillard And we need to begin the blink up connection using the blink to begin. 5 00:00:30,540 --> 00:00:38,700 It will take the authentication key, that aside, for the Wi-Fi network and the password as input and 6 00:00:38,700 --> 00:00:41,550 we need to start DHT since our library, 7 00:00:45,120 --> 00:00:50,610 then we need to set the time limit interval. 8 00:00:54,050 --> 00:00:59,000 Call the first and second timer, so a timer that set. 9 00:01:00,470 --> 00:01:01,220 Tavel. 10 00:01:05,730 --> 00:01:12,480 Answered interviewer Now that said, interval function for the timer will take two parameters, the 11 00:01:12,480 --> 00:01:22,850 first one is the time we need to send the DH values Western values every two or three seconds. 12 00:01:25,840 --> 00:01:33,160 And you need to define the function, but you need to send so since and so the etch. 13 00:01:34,720 --> 00:01:45,220 And the second one, we will send it we will send the liberal answer and most liberal sensor data every 14 00:01:45,220 --> 00:01:47,590 six seconds or seconds. 15 00:01:48,280 --> 00:01:50,800 Now go this and base Bastia. 16 00:01:52,900 --> 00:01:57,070 That's it now inside the loop function, we need to write blink. 17 00:02:00,540 --> 00:02:05,730 Duran Duran, The Bling Connection, and we need to run the time out to. 18 00:02:09,510 --> 00:02:14,820 Now, just to make sure that we have product timer are great. 19 00:02:15,240 --> 00:02:18,300 Now click verify to make sure that we don't have any errors. 20 00:02:20,210 --> 00:02:28,070 We will get back to the court once we set up the blink up and we have our authentication code and we 21 00:02:28,070 --> 00:02:32,660 will enter our Wi-Fi as a society name and password. 22 00:02:34,380 --> 00:02:40,890 And the practical lesson at the end, and that's it for this lesson, what we have done here is basically 23 00:02:41,280 --> 00:02:51,630 we have started the communication that blink, stop or begin biggest function and that the Tucson library, 24 00:02:52,710 --> 00:02:58,390 we have set the timer interval for the first method and the second method. 25 00:02:58,860 --> 00:03:05,610 So we will get the sense of values every three seconds and we will get the water and soil moisture levels 26 00:03:05,610 --> 00:03:08,250 and so value every six seconds. 27 00:03:08,730 --> 00:03:17,640 And inside the loop we run, we use the round function for the blink and the time of libraries. 28 00:03:17,820 --> 00:03:21,300 That said, this is everything that we need to do. 29 00:03:22,170 --> 00:03:25,900 If you have any question regarding any of these steps, I'm here to help you. 30 00:03:25,920 --> 00:03:26,940 Thanks for watching. 31 00:03:27,810 --> 00:03:29,670 Next, we will explain the blink. 32 00:03:29,670 --> 00:03:33,960 And this is Usher from educational engineering team.