TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (387 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (120 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (140167 times)
  2. FAT32 Library (72621 times)
  3. Network Ethernet Library (57641 times)
  4. USB Device Library (47954 times)
  5. Network WiFi Library (43553 times)
  6. FT800 Library (42942 times)
  7. GSM click (30140 times)
  8. mikroSDK (28669 times)
  9. PID Library (27055 times)
  10. microSD click (26552 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Library

Rotary Encoder

Rating:

5

Author: dany

Last Updated: 2016-02-18

Package Version: 1.0.0.0

Category: Other Codes

Downloaded: 4996 times

Followed by: 2 users

License: MIT license  

Simple timer interrupt based Rotary Encoder decoding library.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Rotary Encoder" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Rotary Encoder" changes.

Do you want to report abuse regarding "Rotary Encoder".

  • Information
  • Comments (0)

Library Blog

Simple timer interrupt based Rotary Encoder decoding library.

Do not make the checking interval (in the timer interrupt) more than 2 millisecs, or transitions can be missed or misinterpreted.

See the example added for the usage of the library.

Have fun!

Rotary Encoder types.

Rotary Encoder types.

Rotary encoder types. The encoder type for which the library is made is type B.

View full image
Detail of the signals of the type B encoder

Detail of the signals of the type B encoder

Detail of the signals of the type B encoder

View full image

ALSO FROM THIS AUTHOR

Tool: Timer-Prescaler

5

Tool (excel workbook) to help with the choice of the prescaler and settings of a timer. For PIC16/18, PIC24, dsPIC33 and PIC32.

[Learn More]

CRTOS for PIC32

10

Cooperative Real Time Operating System (CRTOS) for PIC32

[Learn More]

Seven Segment

5

Library to drive 4 seven segment digits with common anode. High level routines are provided, next to the low (raw) level ones. Nothing fancy...

[Learn More]