Search found 1 match
- Wed Nov 08, 2023 6:56 am
- Forum: ESP32 Arduino
- Topic: Timers and interrupts
- Replies: 1
- Views: 2488
Timers and interrupts
Hello, In my application I need to measure the time between 2 events using 2 photogates. I am thinking at the following scenario: 1. When the first photogate is activated an interrupt is triggered and the timer is started. 2. If for a given amount of time the second interrupt is not triggered raised...