diff --git a/README.md b/README.md index 070af57..c9f7037 100644 --- a/README.md +++ b/README.md @@ -39,10 +39,8 @@ or ``` ```python -from GreenPonik_Altas_Scientific_i2c.GreenPonik_Altas_Scientific_OEM_i2c import ( - ECI2c, - PHI2c, -) +from GreenPonik_Altas_Scientific_i2c.ECI2c import ECI2c +from GreenPonik_Altas_Scientific_i2c.PHI2c import PHI2c ``` # Examples @@ -51,7 +49,7 @@ from GreenPonik_Altas_Scientific_i2c.GreenPonik_Altas_Scientific_OEM_i2c import works with EC circuit https://www.atlas-scientific.com/circuits/conductivity-oem-circuit/
```python -from GreenPonik_Altas_Scientific_OEM_i2c.GreenPonik_ECI2c import ECI2c +from GreenPonik_Altas_Scientific_OEM_i2c.ECI2c import ECI2c if __name__ == "__main__": try: @@ -76,7 +74,7 @@ go to [ec example](examples/read_ec.py) works with pH circuit https://www.atlas-scientific.com/circuits/ph-oem-circuit/
```python -from GreenPonik_Altas_Scientific_OEM_i2c.GreenPonik_PHI2c import PHI2c +from GreenPonik_Altas_Scientific_OEM_i2c.PHI2c import PHI2c if __name__ == "__main__": try: @@ -85,7 +83,6 @@ if __name__ == "__main__": bus=1, address=PHI2c.ADDR_OEM_TXT_TO_HEXA['PH'], moduletype="PH", - name="PH" ) print(ph_i2c.get_device_info()) print(ph_i2c.get_read()) diff --git a/examples/read_ec.py b/examples/read_ec.py index 1ebc265..00b87a5 100644 --- a/examples/read_ec.py +++ b/examples/read_ec.py @@ -1,4 +1,4 @@ -from GreenPonik_Altas_Scientific_OEM_i2c.GreenPonik_ECI2c import ECI2c +from GreenPonik_Altas_Scientific_OEM_i2c.ECI2c import ECI2c if __name__ == "__main__": try: diff --git a/examples/read_ph.py b/examples/read_ph.py index 99f987b..ce74fa5 100644 --- a/examples/read_ph.py +++ b/examples/read_ph.py @@ -1,4 +1,4 @@ -from GreenPonik_Altas_Scientific_OEM_i2c.GreenPonik_PHI2c import PHI2c +from GreenPonik_Altas_Scientific_OEM_i2c.PHI2c import PHI2c if __name__ == "__main__": try: @@ -7,7 +7,6 @@ bus=1, address=PHI2c.ADDR_EZO_TXT_TO_HEXA['PH'], moduletype="PH", - name="PH" ) print(ph_i2c.get_device_info()) print(ph_i2c.get_read())