TOP Contributors

  1. MIKROE (2653 codes)
  2. Alcides Ramos (351 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 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 (136708 times)
  2. FAT32 Library (69922 times)
  3. Network Ethernet Library (55935 times)
  4. USB Device Library (46258 times)
  5. Network WiFi Library (41883 times)
  6. FT800 Library (41144 times)
  7. GSM click (28979 times)
  8. PID Library (26410 times)
  9. mikroSDK (26355 times)
  10. microSD click (25352 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: 4715 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

TempSensors for PIC32

5

The basic functions for the DS18(S/B)20 (onewire digital temperature sensor), including string output, ready to display. A routine to convert a more than 9 bits temperature read from a DS18B20 to a string (to e.g. display on an LCD) is also present. Including Parasite Power and Configuration routines. The LM35 basic functions, code efficient.

[Learn More]

USB_NA

24

USB libraries, new architecture. Permits composite USB devices (possibilities: HID, CDC and MSD). -- for P18's or P24's with USB --
Version 1.1: Modified so that (changes to) values in "UsbProjectItems" like PID and VID are actually visible in the executable.

[Learn More]

Tool: PIC uart to USB interface

0

Converts PIC level Uart signals to USB in both directions. This project is meant for use with PC's that do not have an RS232 interface any more. It makes it possible to handle the pic uart signals with a PC without an RS232 interface.

[Learn More]