Timer Interrupt demo

Demo file : esp32_timer_interrupt_demo.slx


This demo shows how to use the Timer Interrupt Block. In every 2s, the Timer interrupt block invokes a function which controls a digital output pin (GPIO2) and the Digital Output Block uses to control the GPIO2. The state of the digital output pin is changed in every invocation.

Hardware Setup

The digital output pin should be connected to a LED to observe the status of the pin.

What should be happening?

The status LED (GPIO2) will be changed in every 2s period.

Previous : GPIO Interrupt demo
Next : UART Host PC demo