This article describes the interrupt and intercept principle with MicroPython, experimented with ESP8266 and ESP32 as a guide to programming an external event response without waiting for the work in progress completed first.

This article describes the interrupt and intercept principle with MicroPython, experimented with ESP8266 and ESP32 as a guide to programming an external event response without waiting for the work in progress completed first.
บทความนี้อธิบายหลักการทำการขัดจังหวะหรืออินเทอร์รัพต์ (Interrupt) และการดักการเกิดการขัดจังหวะด้วย MicroPython โดยทดลองกับ ESP8266 และ ESP32 เพื่อเป็นแนวทางในการเขียนโปรแกรมตอบสนองการเกิดเหตุการณ์จากภายนอกโดยไม่ต้องรอให้งานที่ทำอยู่นั้นทำเสร็จก่อน