From 4a3f83f3dcb9a0f3380b9a4740e7e97399b83bef Mon Sep 17 00:00:00 2001 From: wyealex <48441343+wyealex@users.noreply.github.com> Date: Wed, 22 May 2019 13:54:12 +0100 Subject: [PATCH 1/2] Update i2cEncoderLibV2.py The "return False" needs indenting for this updateStatus to work properly, otherwise it always returns False. --- Raspberry Library/smbus2/i2cEncoderLibV2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Raspberry Library/smbus2/i2cEncoderLibV2.py b/Raspberry Library/smbus2/i2cEncoderLibV2.py index 4ecf328..d9a0744 100644 --- a/Raspberry Library/smbus2/i2cEncoderLibV2.py +++ b/Raspberry Library/smbus2/i2cEncoderLibV2.py @@ -157,7 +157,7 @@ def updateStatus(self) : if (self.stat == 0): self.stat2 = 0 - return False + return False if (self.stat & INT2) != 0 : self.stat2 = self.readEncoder8(REG_I2STATUS) From adab45eb1b810d2d740f77ef1acc441ea7d21f9a Mon Sep 17 00:00:00 2001 From: Saimon Date: Tue, 18 Jun 2019 12:14:08 +0200 Subject: [PATCH 2/2] Update README.md --- README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f0fab96..4df38d9 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,21 @@ This project is avaiable on our [Tindie store!](https://www.tindie.com/products/ * [Hardware:](/Hardware) Folder containing the gerber file, schematic and BOM. * [Datasheet EncoderI2C V2:](EncoderI2CV2_v1.6.pdf) Datasheet of the board with the description of the registers and some useful information. -** The HW project is also available on [CircuitMaker.](https://workspace.circuitmaker.com/Projects/Details/Simone--Caron/I2C-Encoder-V2) ** +**The HW project is also available on [CircuitMaker](https://workspace.circuitmaker.com/Projects/Details/Simone--Caron/I2C-Encoder-V2)** + + + + + +## Third-party libraries + +* [C# / nanoFramework]( https://github.com/andylyonette/I2cEncoderV2) thanks to [Andy Lyonette](https://www.hackster.io/andy-lyonette) +* [PSOC](https://github.com/rudydevolder/DUPPA-i2cEncoder-for-PSOC) thanks to Rudy De Volder + + + + + **If you want to donate for my work, i would really appreciate it. You can donate here with this link. Thank you!**