Did I find the right examples for you? yes no

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)

src/b/r/BrickPython-0.4/test/TestSensor.py   BrickPython(Download)
from BrickPython.BrickPi import PORT_1
from BrickPython.Sensor import Sensor, TouchSensor, UltrasonicSensor, LightSensor
import TestScheduler
 
class TestSensor(unittest.TestCase):