I2CEncoderV2.1 icon indicating copy to clipboard operation
I2CEncoderV2.1 copied to clipboard

[bug(?)] Triple pressing acts as a double push instantly followed by a single press...

Open IAmOrion opened this issue 5 years ago • 4 comments

Triple pressing acts as a double push instantly followed by a single press. Realistically this should still fall under control of the debouncing methods, given that's it's highly unlikely someone wants to action a double press and then a single press like that. Ideally, it should not register the 3rd press... so in other words, it should action the double press method and ignore the 3rd press (within the debounce period)

IAmOrion avatar May 09 '19 00:05 IAmOrion

Might be a "multiple press" event and a register to read the number of presses. That would fit all situations, the proposed one by IAmOrion and perhaps somebody coding an Easter egg after ten presses :)

cconde avatar Jul 28 '19 08:07 cconde

Hello, In the version V2.1 i have fixed this issue. After detecting a double push there is window of the same amount of the DPPERIOD where the button is not detected.

Fattoresaimon avatar Jul 28 '19 12:07 Fattoresaimon

Hello, In the version V2.1 i have fixed this issue. After detecting a double push there is window of the same amount of the DPPERIOD where the button is not detected.

Do I have to upload a new firmware to the I2C encoder somehow? Or do I only need to update the library? I have the v2.0 board I believe

IAmOrion avatar Jul 28 '19 18:07 IAmOrion

You have to update the FW on the board. The FW is compatible. You need a PIC programmer, like the PICKit 3. In the datasheet it's written how to connect: https://github.com/Fattoresaimon/I2CEncoderV2.1/blob/master/EncoderI2CV2.1_v1.0.pdf

Fattoresaimon avatar Jul 28 '19 19:07 Fattoresaimon