Interrupt Programming
ฝึกการเขียนโปรแกรมโดยใช้บริการ Interrupt ต่างๆ ของ Microcontroller เพื่อเพิ่มประสิทธิ์ภาพการทำงานของระบบ
LAB
Lab 4.1 – การใช้ Timer Interrupt
LAB 4.2 – ทดลองใช้ I/O Interrupt คุม LED
Resources
โปรแกรมช่วยคำนวนค่า Timer1 – Timer1 setup calculator.xlsx
ตัวอย่าง Timer Interrupt กระพริบไฟ พร้อมตรวจสอบการกดปุ่ม – timer int ex.c
ตัวอย่างการใช้ I/O Interrupt กับ port B ของ PIC – Interrupt RB example.c