Skip to content

Commit 5ebfada

Browse files
bessmanAlexander Bessman
authored andcommitted
Remove a few unused things
1 parent 3742998 commit 5ebfada

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

pslab/sciencelab.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,11 @@
99
from typing import Iterable, List
1010

1111
import pslab.protocol as CP
12-
from pslab.bus.i2c import I2CMaster
13-
from pslab.bus.spi import SPIMaster
1412
from pslab.instrument.logic_analyzer import LogicAnalyzer
1513
from pslab.instrument.multimeter import Multimeter
1614
from pslab.instrument.oscilloscope import Oscilloscope
1715
from pslab.instrument.power_supply import PowerSupply
1816
from pslab.instrument.waveform_generator import PWMGenerator, WaveformGenerator
19-
from pslab.peripherals import NRF24L01
2017
from pslab.serial_handler import SerialHandler
2118

2219

@@ -48,9 +45,6 @@ def __init__(
4845
self.pwm_generator = PWMGenerator(device=self)
4946
self.multimeter = Multimeter(device=self)
5047
self.power_supply = PowerSupply(device=self)
51-
# self.i2c = I2CMaster(device=self)
52-
# self.spi = SPIMaster(device=self)
53-
# self.nrf = NRF24L01(device=self)
5448

5549
@property
5650
def temperature(self):
@@ -120,11 +114,7 @@ def _stop_ctmu(self):
120114
self.get_ack()
121115

122116
def reset(self):
123-
"""Reset the device.
124-
125-
Standalone mode will be enabled if an OLED is connected to the I2C
126-
port.
127-
"""
117+
"""Reset the device."""
128118
self.send_byte(CP.COMMON)
129119
self.send_byte(CP.RESTORE_STANDALONE)
130120

0 commit comments

Comments
 (0)