2021 02 09 master libi2c import only on linux
Compare changes
+ 3
− 2
@@ -25,7 +26,7 @@ def I2C1server(addr,data,reg=None,read=0):
@@ -25,7 +26,7 @@ def I2C1server(addr,data,reg=None,read=0):
This adds Linux platform specific installation and import of libi2c.
The requirements.txt file contains now a platform specifier for the libi2c module. The file i2c/I2C.py imports the libi2c module only if it is executed on Linux.