jamesbowman / i2cdriver

I2CDriver open source tools
https://i2cdriver.com/
BSD 3-Clause "New" or "Revised" License
187 stars 57 forks source link

setter methods do not get reflected in internal variables #27

Closed jamesbowman closed 4 years ago

jamesbowman commented 4 years ago
>>> import i2cdriver
>>> i2c = i2cdriver.I2CDriver("/dev/ttyUSB0")
>>> i2c.setspeed(100)
>>> i2c.speed
400

Expect to see 100, but without getstatus() the variable is not updated.