Hoàn thành câu lệnh Arduino sau để thiết lập chế độ cho chân 13 là OUTPUT (chế độ ra) để điều khiển đèn LED: int ledPin = 13; void setup() { ___(1)___(ledPin, OUTPUT); }

Câu hỏi về lập trình Arduino

Quiz
•
Other
•
2nd Grade
•
Easy
Lê Quỳnh
Used 2+ times
FREE Resource
18 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Hoàn thành câu lệnh Arduino sau để đọc giá trị từ chân Analog A0: int value = __(1)__ (A0);
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Hoàn thành câu lệnh Arduino sau để xuất mức tín hiệu Analog từ chân Digital hỗ trợ PWM: ___(1)___(ledPin, 128);
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Điền dữ liệu phù hợp để khai báo sensorPin có giá trị là 7 _____(1)_____sensorPin = 7;
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Gỉa sử có một LED đơn được nối với chân số 7 của Arrduino. Led này sáng khi tín hiệu tại chân 13 ở mức cao. Hãy hoàn thành các câu lệnh Arduino sau để bật LED sáng: int ledPin = 7; void loop() { _(1)_(ledPin, HIGH); delay(1000); } _______digitalWrite___
6.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
Hoàn thành câu lệnh trong hàm setup() dưới đây để khởi động Serial Monitor với tốc độ 115200 baud: void setup() { Serial.____(115200); while (!Serial) { ; } }
7.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
Hoàn thành đoạn mã sau để kiểm tra và gửi thông báo "Đang kết nối" về trạng thái WiFi của ESP8266: while (WiFi.status() != WL_CONNECTED) { delay(500); ___(1)___.print("Đang kết nối"); }
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Checkpoint 2

Quiz
•
1st - 5th Grade
20 questions
ÔN TẬP TUẦN 15

Quiz
•
2nd Grade
16 questions
ôn tập văn 8

Quiz
•
1st - 12th Grade
13 questions
Hack não siêu khó

Quiz
•
1st - 5th Grade
15 questions
ICT- Làm quen với ứng dụng Quizizz

Quiz
•
1st - 5th Grade
20 questions
LUYỆN THI TRẠNG NGUYÊN

Quiz
•
1st - 5th Grade
16 questions
ĐỘI NGŨ ĐƠN VỊ

Quiz
•
KG - 3rd Grade
20 questions
Từ điển tiếng Hàn qua tranh | Bài 4. Món ăn Hàn Trung

Quiz
•
1st - 5th Grade
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
Discover more resources for Other
10 questions
Identifying equations

Quiz
•
KG - University
20 questions
Basic Multiplication Facts

Quiz
•
2nd - 3rd Grade
30 questions
Multiplication Facts 1-12

Quiz
•
2nd - 5th Grade
20 questions
Telling Time to 5 Minutes

Quiz
•
2nd Grade
15 questions
Telling Time

Quiz
•
2nd Grade
20 questions
Grammar Review

Quiz
•
2nd Grade
15 questions
Addition and Subtraction with regrouping

Quiz
•
2nd Grade
20 questions
r- controlled vowels review!

Quiz
•
1st - 2nd Grade