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
แก้ไขเนื้อหา
สั่งพิมพ์
ฝัง
เพิ่มเติม
กำหนด
ลีดเดอร์บอร์ด
แสดงเพิ่มขึ้น
แสดงน้อยลง
ลีดเดอร์บอร์ดนี้ตอนนี้เป็นส่วนตัว คลิก
แชร์
เพื่อทำให้เป็นสาธารณะ
ลีดเดอร์บอร์ดนี้ถูกปิดใช้งานโดยเจ้าของทรัพยากร
ลีดเดอร์บอร์ดนี้ถูกปิดใช้งานเนื่องจากตัวเลือกของคุณแตกต่างสำหรับเจ้าของทรัพยากร
แปลงกลับตัวเลือก
จับคู่
เป็นแม่แบบแบบเปิดที่ไม่ได้สร้างคะแนนสำหรับลีดเดอร์บอร์ด
ต้องลงชื่อเข้าใช้
สไตล์ภาพ
แบบ อักษร
ต้องสมัครสมาชิก
ตัวเลือก
สลับแม่แบบ
แสดงทั้งหมด
รูปแบบเพิ่มเติมจะปรากฏเมื่อคุณเล่นกิจกรรม
เปิดผลลัพธ์
คัดลอกลิงค์
คิวอาร์โค้ด
ลบ
คืนค่าการบันทึกอัตโนมัติ:
ใช่ไหม