v0.6.263
This commit is contained in:
@@ -291,6 +291,9 @@ Work is in progress...
|
|||||||
|
|
||||||
---
|
---
|
||||||
## Version history
|
## Version history
|
||||||
|
#### v0.6.263
|
||||||
|
- fixed encoder internal pullup
|
||||||
|
|
||||||
#### v0.6.262
|
#### v0.6.262
|
||||||
- change encoder library to [ai-esp32-rotary-encoder](https://github.com/igorantolic/ai-esp32-rotary-encoder) (injected to project)
|
- change encoder library to [ai-esp32-rotary-encoder](https://github.com/igorantolic/ai-esp32-rotary-encoder) (injected to project)
|
||||||
- added new option VOL_ACCELERATION - volume adjustment acceleration by encoder (see [myoptions.h](exsamples/myoptions.h) for exsample)
|
- added new option VOL_ACCELERATION - volume adjustment acceleration by encoder (see [myoptions.h](exsamples/myoptions.h) for exsample)
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#ifndef options_h
|
#ifndef options_h
|
||||||
#define options_h
|
#define options_h
|
||||||
|
|
||||||
#define VERSION "0.6.262"
|
#define VERSION "0.6.263"
|
||||||
|
|
||||||
/*******************************************************
|
/*******************************************************
|
||||||
DO NOT EDIT THIS FILE.
|
DO NOT EDIT THIS FILE.
|
||||||
|
|||||||
@@ -87,8 +87,8 @@ yoEncoder::yoEncoder(uint8_t encoder_APin, uint8_t encoder_BPin, uint8_t encoder
|
|||||||
this->encoderBPin = encoder_BPin;
|
this->encoderBPin = encoder_BPin;
|
||||||
this->encoderSteps = encoderSteps;
|
this->encoderSteps = encoderSteps;
|
||||||
|
|
||||||
pinMode(this->encoderAPin, internalPullup?INPUT_PULLUP:INPUT_PULLDOWN);
|
pinMode(this->encoderAPin, internalPullup?INPUT_PULLUP:INPUT);
|
||||||
pinMode(this->encoderBPin, internalPullup?INPUT_PULLUP:INPUT_PULLDOWN);
|
pinMode(this->encoderBPin, internalPullup?INPUT_PULLUP:INPUT);
|
||||||
}
|
}
|
||||||
|
|
||||||
void yoEncoder::setBoundaries(long minEncoderValue, long maxEncoderValue, bool circleValues)
|
void yoEncoder::setBoundaries(long minEncoderValue, long maxEncoderValue, bool circleValues)
|
||||||
|
|||||||
Reference in New Issue
Block a user