Skip to content

Timer ISR Simulation

This enhanced simulation demonstrates how a timer (TMR1) triggers an interrupt when it reaches a match value (PR1).

👉 Click here to launch the Timer ISR Simulation

New Feature: - A traffic-light style visual indicator flashes red → yellow → green when the interrupt fires.

Features:

  • Adjustable PR1 (interrupt match value)
  • Timer starts incrementing when you click "Start"
  • When TMR1 matches PR1, an interrupt is triggered and the timer resets
  • Press "Stop" or "Reset" at any time