Void setup - This section of code initially runs once when the program is run, and is used to tell Arduino what to expect its input/output pins to be doing or connected to., Commands - Are an instruction given in a program that tells the computer to do something specific. The main ones we will work with are keywords., Semicolon ; - To tell Arduino it is at the end of that line of code., Void loop - This section of code runs over and over until the power is switched off or the program has an ending statement., Curly braces { } - These begin and end sections of code and Arduino needs them to recognise “paragraph structure” in your program., Comments - Are put into the program to remind the programmer or tell someone else looking at the program what is happening in that line or section of code. They are not compiled or ‘read’ by the compiler., Serial monitor - To allow you to see what the program is doing “in the background” even if your circuit doesn’t appear to be working. Serial monitor is a good way to check your code is correct/working.,
0%
Programming Codes Part 1
مشاركة
مشاركة
مشاركة
بواسطة
Sharmini1
Secondary
DigTech
تحرير المحتوى
طباعة
تضمين
المزيد
الواجبات
لوحة الصدارة
عرض المزيد
عرض أقل
لوحة الصدارة هذه في الوضع الخاص حاليًا. انقر على
مشاركة
لتجعلها عامة.
عَطَل مالك المورد لوحة الصدارة هذه.
عُطِلت لوحة الصدارة هذه حيث أنّ الخيارات الخاصة بك مختلفة عن مالك المورد.
خيارات الإرجاع
المطابقة
قالب مفتوح النهاية. ولا يصدر عنه درجات توضع في لوحة الصدارة.
يجب تسجيل الدخول
النمط البصري
الخطوط
يجب الاشتراك
الخيارات
تبديل القالب
إظهار الكل
ستظهر لك المزيد من التنسيقات عند تشغيل النشاط.
فتح النتائج
نسخ الرابط
رمز الاستجابة السريعة
حذف
استعادة الحفظ التلقائي:
؟