Author Topic: how to use interruptions for rotary encoder on pic16f886 for C language  (Read 1182 times)

0 Members and 1 Guest are viewing this topic.

Offline little_carlosTopic starter

  • Regular Contributor
  • *
  • Posts: 133
Hello, i need to use a rotary encoder to control pwm output on pic16f886 on C language (mikroC), why i need interruptions? because the pic has to manage 2 analog readings and 1 lcd displaying data at the same time, so reading the encoder without interruptions just doesnt work. the problem i have is that i dont know how to manage to read the encoder using interrupts, can you give me any idea of what instruction should use to have proper readings? the encoder is one of those "digital potentiometers" or pot-like encoders, has 2 outputs. Thanks for your time
 

Offline android

  • Regular Contributor
  • *
  • Posts: 134
  • Country: au
how to use interruptions for rotary encoder on pic16f886 for C language
« Reply #1 on: January 23, 2017, 08:47:34 pm »
Lecturer: "There is no language in which a double positive implies a negative."
Student:  "Yeah...right."
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf