#19 How to use a Rotary Encoder with an Interrupt routine on your Arduino

Описание к видео #19 How to use a Rotary Encoder with an Interrupt routine on your Arduino

A rotary encoder is a useful type of switch but what exactly does it do and how do you implement it?

And how do you use an Interrupt routine to reliably detect the pulses?

Here I explain what it's all about and why it's such a useful (and cheap) building block for your Arduino project.

It is amazingly easy to implement with just a few lines of code and will doubtless be of use in your next Arduino project!

The final code used in this example can be found here: https://github.com/RalphBacon/RotaryE...
(Note this contains more sketches for another Rotary Encoder video - you need the sketch called "RotaryEncoderInterrrupts.ino")

As always, Thanks For Watching.

My channel and blog are here:
------------------------------------------------------------------
   / ralphbacon  
https://ralphbacon.blog
------------------------------------------------------------------

Комментарии

Информация по комментариям в разработке