While it is easy to create a blinking LED with the delay() function, a การแปล - While it is easy to create a blinking LED with the delay() function, a ไทย วิธีการพูด

While it is easy to create a blinki

While it is easy to create a blinking LED with the delay() function, and many sketches use short delays for such tasks as switch debouncing, the use of delay() in a sketch has significant drawbacks. No other reading of sensors, mathematical calculations, or pin manipulation can go on during the delay function, so in effect, it brings most other activity to a halt. For alternative approaches to controlling timing see the millis() function and the sketch sited below. More knowledgeable programmers usually avoid the use of delay() for timing of events longer than 10's of milliseconds unless the Arduino sketch is very simple.
Certain things do go on while the delay() function is controlling the Atmega chip however, because the delay function does not disable interrupts. Serial communication that appears at the RX pin is recorded, PWM (analogWrite) values and pin states are maintained, and interrupts will work as they should.
0/5000
จาก: -
เป็น: -
ผลลัพธ์ (ไทย) 1: [สำเนา]
คัดลอก!
ง่ายต่อการสร้าง LED กระพริบ ด้วยฟังก์ชัน delay() และร่างมากใช้ความล่าช้าสั้นสำหรับงานดังกล่าวเป็นสลับการ debouncing ใช้ delay() ในร่างมีข้อเสียที่สำคัญ อ่านอื่น ๆ ไม่เซนเซอร์ การคำนวณทางคณิตศาสตร์ หรือขาจัดการไปในระหว่างฟังก์ชันการหน่วงเวลา ดังนั้นในผล นำกิจกรรมอื่น ๆ สะดุดหยุดชะงัก สำหรับแนวทางการควบคุมเวลาดูฟังก์ชัน millis() และร่างที่เว็บไซต์ด้านล่าง โปรแกรมเมอร์ที่มีความรู้เพิ่มเติมมักจะหลีกเลี่ยงการใช้ delay() สำหรับช่วงเวลาของเหตุการณ์ยาวกว่า 10's มิลลิวินาทียกเว้นร่างสืบเป็นอย่างมากสิ่งบางอย่างไปในขณะที่ฟังก์ชัน delay() จะควบคุมชิ Atmega อย่างไรก็ตาม เนื่องจากฟังก์ชันเลื่อนปิด interrupts บันทึกการสื่อสารแบบอนุกรมที่ปรากฏที่ pin จำนวน เก็บค่า PWM (analogWrite) และอเมริกาขา และ interrupts จะทำงานกับพวกเขา
การแปล กรุณารอสักครู่..
ผลลัพธ์ (ไทย) 2:[สำเนา]
คัดลอก!
While it is easy to create a blinking LED with the delay() function, and many sketches use short delays for such tasks as switch debouncing, the use of delay() in a sketch has significant drawbacks. No other reading of sensors, mathematical calculations, or pin manipulation can go on during the delay function, so in effect, it brings most other activity to a halt. For alternative approaches to controlling timing see the millis() function and the sketch sited below. More knowledgeable programmers usually avoid the use of delay() for timing of events longer than 10's of milliseconds unless the Arduino sketch is very simple.
Certain things do go on while the delay() function is controlling the Atmega chip however, because the delay function does not disable interrupts. Serial communication that appears at the RX pin is recorded, PWM (analogWrite) values and pin states are maintained, and interrupts will work as they should.
การแปล กรุณารอสักครู่..
ผลลัพธ์ (ไทย) 3:[สำเนา]
คัดลอก!
ในขณะที่มันเป็นเรื่องง่ายที่จะสร้างกระพริบ LED ด้วยฟังก์ชัน delay() และภาพร่างมากมายใช้สั้นความล่าช้าสำหรับงานเช่นสลับดีเบาซิ่ง , การใช้ delay() ในร่างมีข้อด้อยที่สําคัญ ไม่อ่านอื่น ๆ ของเซ็นเซอร์ คณิตศาสตร์ การคำนวณ หรือพินเชิดไปในระหว่างการทำงานล่าช้า ดังนั้น ผล ทำให้ กิจกรรมอื่น ๆ ส่วนใหญ่จะหยุดสำหรับแนวทางการควบคุมเวลาเห็น millis() ฟังก์ชันและร่างจากด้านล่างนี้ โปรแกรมเมอร์มีความรู้มักจะหลีกเลี่ยงการใช้ delay() สำหรับระยะเวลาของเหตุการณ์เกิน 10 มิลลิวินาที เว้นแต่ Arduino วาดง่ายมาก .
บางอย่างไปบนในขณะที่ฟังก์ชัน delay() การควบคุม atmega ชิพ อย่างไรก็ตามเพราะว่าการทำงานล่าช้าไม่ปิดขัดจังหวะขึ้นมา อนุกรมการสื่อสารที่ปรากฏใน RX พินจะถูกบันทึกไว้ , PWM ( analogwrite ) ค่า pin รัฐจะได้รับการดูแลรักษา และการขัดจังหวะจะทำงานเท่าที่ควร
การแปล กรุณารอสักครู่..
 
ภาษาอื่น ๆ
การสนับสนุนเครื่องมือแปลภาษา: กรีก, กันนาดา, กาลิเชียน, คลิงออน, คอร์สิกา, คาซัค, คาตาลัน, คินยารวันดา, คีร์กิซ, คุชราต, จอร์เจีย, จีน, จีนดั้งเดิม, ชวา, ชิเชวา, ซามัว, ซีบัวโน, ซุนดา, ซูลู, ญี่ปุ่น, ดัตช์, ตรวจหาภาษา, ตุรกี, ทมิฬ, ทาจิก, ทาทาร์, นอร์เวย์, บอสเนีย, บัลแกเรีย, บาสก์, ปัญจาป, ฝรั่งเศส, พาชตู, ฟริเชียน, ฟินแลนด์, ฟิลิปปินส์, ภาษาอินโดนีเซี, มองโกเลีย, มัลทีส, มาซีโดเนีย, มาราฐี, มาลากาซี, มาลายาลัม, มาเลย์, ม้ง, ยิดดิช, ยูเครน, รัสเซีย, ละติน, ลักเซมเบิร์ก, ลัตเวีย, ลาว, ลิทัวเนีย, สวาฮิลี, สวีเดน, สิงหล, สินธี, สเปน, สโลวัก, สโลวีเนีย, อังกฤษ, อัมฮาริก, อาร์เซอร์ไบจัน, อาร์เมเนีย, อาหรับ, อิกโบ, อิตาลี, อุยกูร์, อุสเบกิสถาน, อูรดู, ฮังการี, ฮัวซา, ฮาวาย, ฮินดี, ฮีบรู, เกลิกสกอต, เกาหลี, เขมร, เคิร์ด, เช็ก, เซอร์เบียน, เซโซโท, เดนมาร์ก, เตลูกู, เติร์กเมน, เนปาล, เบงกอล, เบลารุส, เปอร์เซีย, เมารี, เมียนมา (พม่า), เยอรมัน, เวลส์, เวียดนาม, เอสเปอแรนโต, เอสโทเนีย, เฮติครีโอล, แอฟริกา, แอลเบเนีย, โคซา, โครเอเชีย, โชนา, โซมาลี, โปรตุเกส, โปแลนด์, โยรูบา, โรมาเนีย, โอเดีย (โอริยา), ไทย, ไอซ์แลนด์, ไอร์แลนด์, การแปลภาษา.

Copyright ©2024 I Love Translation. All reserved.

E-mail: