from PiScope import Plotter

# Create oscilloscope
piscope = Plotter()

# Setup channels
piscope.setup([0])

# Start plotting
piscope.plot()
from PiScope import Plotter

# Create XY Plotter
piscope = Plotter()

# Setup channels
piscope.setup([0, 1])

# Start plotting
piscope.plot()