enesbcs / rpieasy

Easy MultiSensor device based on Raspberry PI
GNU General Public License v3.0
158 stars 33 forks source link

!PN532 init error:'Plugin' object has no attribute 'i2cl' #277

Closed Pierrick-R closed 1 year ago

Pierrick-R commented 1 year ago

PN532 module not able to work. Issue in _P017_PN532.py line 69 : self.pn = pn532.PN532_I2C(reset=self.preset,i2c_c=self.i2cl) to be changed by self.pn = pn532.PN532_I2C(reset=self.preset,i2c_c=self.i2c)

Tested - it's working now

Pierrick

enesbcs commented 1 year ago

Yep, its my bad, thanks for fixing, added to current release! https://github.com/enesbcs/rpieasy/commit/a7d1219c2e98045c7ac10afb01f529aed55b88b5