TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (405 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (133 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 (141488 times)
  2. FAT32 Library (74347 times)
  3. Network Ethernet Library (58908 times)
  4. USB Device Library (48921 times)
  5. Network WiFi Library (44700 times)
  6. FT800 Library (44247 times)
  7. GSM click (30976 times)
  8. mikroSDK (29840 times)
  9. PID Library (27424 times)
  10. microSD click (27407 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
Example

Code to read rotary encoder

Rating:

0

Author: Jack Flanders

Last Updated: 2016-02-18

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: Measurement

Downloaded: 3444 times

Followed by: 2 users

License: MIT license  

Example code to decode quadrature rotary encoder switch

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Code to read rotary encoder " changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Code to read rotary encoder " changes.

Do you want to report abuse regarding "Code to read rotary encoder ".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroBasic PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Example Blog

Blog currently doesn't exist!

RELATED CODES

HC-SR04 Ultrasonic Rangefinder with Timer and Interrupt

0

INT0 pin is gated with timer 0. TMR0 starts when INT0 pin is high (start of the echo pulse from HC-SR04) and is read when INT0 pin is low (invoked by the falling edge interrupt caused by the end of echo from HC-SR04). Thus we get pulse width in microseconds. 16 such time samples are taken to make the measurements accurate.

[Learn More]

ADC_BLACK_PILL

0

Example how to use the adc peripheral of the microcontroller stm32f411ceu6(black pill)

[Learn More]

L3G4200D Triple Axis Gyroscope Demo

0

This is a demo of L3G4200D triple axis gyroscope library written with MikroC for AVR. Though Arduino hardware is used, it is not an Arduino-based project. One ATMega8 was used as the microcontroller.

[Learn More]