المشاركات

عرض المشاركات من مايو, 2024

التدريب الثاني كاب كاربون ( الاتصال في شبكة إنترنت الاشياء )

  برمجة العقد الطرفية  import time import random while node.loop(): fire = random.randint(1, 6) if fire == 1: node.print("FIRE!") message = "FIRE IN SECTOR " + str(node.id()) node.send(message) else: node.print("") time.sleep(random.uniform(1, 4)) ——————————————————————— برمجة العقد الوسطى import time while node.loop():      if node.bufferSize()>0: message = node.read() node.print("FORWARDING...") node.send(message,1) time.sleep(1) node.print("")      time.sleep(0.01) ————————————————————- برمجة عقدة التحكم import time while node.loop(): if node.bufferSize() > 0: message = node.read() node.print(message) time.sleep(2) node.print("") time.sleep(0.01)

الكود البرمجي النهائي تقنية رقمية ٢

  <!DOCTYPE html> <html dir="rtl" lang="ar"> <head>     <meta charset="UTF-8">     <meta name="viewport" content="width=device-width, initial-scale=1.0">     <title>يوم التأسيس</title>     <style>         @media screen and (max-width:500px){             img {                 width: 60%;                 height: auto;             }             }     </style> </head> <body>   <h1> يوم التأسيس </h1> <br> <P> يوافق يوم التأسيس 22 فبراير من كل عام امجاد ثلاثة قرون مرت على تأسيس المملكة العربية السعودية </P>   <h3>اكتبي أسمك  </h3>   <img src="1.jfif"> <script>     alert("اختبار عملي نهائي") </script...

تنزيل برنامج CubCarbon

  طالبتي الجميلة : لتنزيل برنامج كاب كاربون CubCarbon  قومي بنسخ الرابط ادناه ولصقه في متصفحك …  http://binary-academy.com/dnld/KSA/IOT2/BinaryCupCarbon.zip