TOP Contributors

  1. MIKROE (2760 codes)
  2. Alcides Ramos (374 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (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 (139226 times)
  2. FAT32 Library (71732 times)
  3. Network Ethernet Library (57114 times)
  4. USB Device Library (47426 times)
  5. Network WiFi Library (43051 times)
  6. FT800 Library (42401 times)
  7. GSM click (29832 times)
  8. mikroSDK (28047 times)
  9. PID Library (26881 times)
  10. microSD click (26197 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: 4920 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

Article: the mP for PIC "Make" process.

5

Describes relations between the Project Manager, Library Manager, Uses Clauses, Package Manager etc... important to build a project successfully.

[Learn More]

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]

Wifi Plus click HTTP Client

0

With this example one can load an internet page from an HTTP server. At this moment the remote IP address is fixed in the code and it loads the default file from the server. All data received from the HTTP server is sent to Uart1 where it can be picked up by a uart program to display or to save to a file.

[Learn More]