Skip to content

Commit f084e56

Browse files
committed
v0.6.263
1 parent 90d97af commit f084e56

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,9 @@ Work is in progress...
291291

292292
---
293293
## Version history
294+
#### v0.6.263
295+
- fixed encoder internal pullup
296+
294297
#### v0.6.262
295298
- change encoder library to [ai-esp32-rotary-encoder](https://github.com/igorantolic/ai-esp32-rotary-encoder) (injected to project)
296299
- added new option VOL_ACCELERATION - volume adjustment acceleration by encoder (see [myoptions.h](exsamples/myoptions.h) for exsample)

yoRadio/options.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef options_h
22
#define options_h
33

4-
#define VERSION "0.6.262"
4+
#define VERSION "0.6.263"
55

66
/*******************************************************
77
DO NOT EDIT THIS FILE.

yoRadio/src/yoEncoder/yoEncoder.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ yoEncoder::yoEncoder(uint8_t encoder_APin, uint8_t encoder_BPin, uint8_t encoder
8787
this->encoderBPin = encoder_BPin;
8888
this->encoderSteps = encoderSteps;
8989

90-
pinMode(this->encoderAPin, internalPullup?INPUT_PULLUP:INPUT_PULLDOWN);
91-
pinMode(this->encoderBPin, internalPullup?INPUT_PULLUP:INPUT_PULLDOWN);
90+
pinMode(this->encoderAPin, internalPullup?INPUT_PULLUP:INPUT);
91+
pinMode(this->encoderBPin, internalPullup?INPUT_PULLUP:INPUT);
9292
}
9393

9494
void yoEncoder::setBoundaries(long minEncoderValue, long maxEncoderValue, bool circleValues)

0 commit comments

Comments
 (0)