You've already forked TEF6686_Driver
minor changes in functionality
This commit is contained in:
@@ -90,4 +90,7 @@ class I2CPCClient:
|
||||
self.ser.baudrate = baud
|
||||
return out
|
||||
|
||||
def close(self): self.ser.close()
|
||||
def close(self): self.ser.close()
|
||||
|
||||
def __enter__(self): return self
|
||||
def __exit__(self, exc_type, exc_val, exc_tb): self.close()
|
||||
Reference in New Issue
Block a user