Skip to content

Commit c4dbe8d

Browse files
authored
Update installation validation example code
1 parent ffd25a5 commit c4dbe8d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ pslab-python can be installed from PyPI:
3535
1. Plug in the PSLab device and check that both the LEDs light up.
3636
2. The following piece of code should run without errors:
3737
```
38-
from PSL import sciencelab
39-
I = sciencelab.connect()
40-
capacitance = I.multimeter.measure_capacitance()
38+
from pslab import ScienceLab
39+
psl = ScienceLab()
40+
capacitance = psl.multimeter.measure_capacitance()
4141
print(capacitance)
4242
```
4343

0 commit comments

Comments
 (0)