TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (392 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (123 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 (140553 times)
  2. FAT32 Library (73048 times)
  3. Network Ethernet Library (58051 times)
  4. USB Device Library (48224 times)
  5. Network WiFi Library (43833 times)
  6. FT800 Library (43295 times)
  7. GSM click (30360 times)
  8. mikroSDK (28993 times)
  9. PID Library (27119 times)
  10. microSD click (26723 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: 5053 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

I2c non blocking

10

Replacement routines for I2c1_Rd and I2c1_Wr but here with timeout, so no blocking any more when a device one tries to access is not present. The mE I2c library is still needed for the remaining I2c routines. Implemented also the code for controllers with 2 I2c's (e.g. P18F27K40).

[Learn More]

Tool: PIC Oscillator configuration and initialisation code generator

5

This tool helps, starting from the PIC18 or PIC24 oscillator block diagram, to define the oscillator related configuration settings and initialisation code. Only a limited number of PIC's is supported so far.

[Learn More]

Tool: PIC Clear project

5

This tool enables you, in case of troubles, to delete the derived files (*.mcl etc...) in the project directories and the "Defs" directory. It also enables you to edit/check the .mpppi (project) file. For: mP for PIC, dsPIC and PIC32.

[Learn More]