Polling or interrupts
A sensor produces a reading every 100 microseconds. One design polls it in a tight loop; another uses an interrupt.
When is polling the better choice for a real-time system?
A sensor produces a reading every 100 microseconds. One design polls it in a tight loop; another uses an interrupt.
When is polling the better choice for a real-time system?