1#ifndef J_ENCODER_QUADRATURE_ATTACH_INTERRUPT_H
2#define J_ENCODER_QUADRATURE_ATTACH_INTERRUPT_H
22 JEncoderQuadratureAttachInterrupt(
byte _encoderAPin,
byte _encoderBPin,
float _distPerCountFactor = 1.0,
bool _reverse =
false,
unsigned long _slowestIntervalMicros = 100000UL)
23 :
JEncoderQuadrature(_encoderAPin, _encoderBPin, _distPerCountFactor, _reverse, _slowestIntervalMicros)
uses attachInterrupt() platform: esp32, teensy (could be used with standard avr arduinos but only wit...
Definition JEncoderQuadratureAttachInterrupt.h:11
JEncoderQuadratureAttachInterrupt(byte _encoderAPin, byte _encoderBPin, float _distPerCountFactor=1.0, bool _reverse=false, unsigned long _slowestIntervalMicros=100000UL)
constructor, sets pins and settings
Definition JEncoderQuadratureAttachInterrupt.h:22
void turnOffInterrupts()
disable interrupts and stop monitoring encoder
Definition JEncoderQuadratureAttachInterrupt.h:36
void setUpInterrupts(void(*_isrAPointer)(void), void(*_isrBPointer)(void))
set up pins and interrupts
Definition JEncoderQuadratureAttachInterrupt.h:27
reads a quadrature (incremental) encoder
Definition JEncoderQuadrature.h:13
byte encoderBPin
Definition JEncoderQuadrature.h:17
byte encoderAPin
Definition JEncoderQuadrature.h:16