Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void setup()
- {
- Serial.begin(9600);
- // กำหนดค่าเริ่มต้น i = 0
- // ถ้า i < 10 ยังเป็นจริง ให้ทำในปีกกา
- // เมื่อทำในปีกกาเสร็จ ให้มาทำที่โคด i++ i มีค่าเพิ่มขึ้นอีก 1
- // ถ้า i < 10 ยังเป็นจริง ให้ทำในปีกกา
- for (int i = 0; i < 10; i++) {
- Serial.println("Hello Arduino");
- }
- }
- void loop()
- {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement