Arduino 28: Interrupt (Old)
Channel: Heinz Peterschofsky
Date: 2020-09-14

Replaced by:
Interrupts: https://youtu.be/03kTf9__FT8
Read Encoder with interrupts: https://youtu.be/-F7Sp8xeVs0

In this video we are using the roatry encoder with a interrupt. We will learn what an intrrupt is and how it is programmed. We will also see a try to resolve an issue with the encoder in the middle part of the video. This takes a while and is commented by scrolling text what is currently tried/done.

 In the end we will have a solution with intrrupt and quite solid result. Therefore we will use the commands delayMicroseconds which is working exactly like delay, but the time needs to be given in microseconds.

commands explained:
attachInterrupt
digitalPinToInterrupt
delayMicroseconds