示例#1
0
 def speakers(self) -> ModuleList:
     """Module List of connected Speaker modules.
     """
     return ModuleList(self._modules, "speaker")
示例#2
0
 def ultrasonics(self) -> ModuleList:
     """Module List of connected Ultrasonic modules.
     """
     return ModuleList(self._modules, "ultrasonic")
示例#3
0
 def mics(self) -> ModuleList:
     """Module List of connected Mic modules.
     """
     return ModuleList(self._modules, "mic")
示例#4
0
 def motors(self) -> ModuleList:
     """Module List of connected Motor modules.
     """
     return ModuleList(self._modules, "motor")
示例#5
0
 def irs(self) -> ModuleList:
     """Module List of connected Ir modules.
     """
     return ModuleList(self._modules, "ir")
示例#6
0
 def leds(self) -> ModuleList:
     """Module List of connected Led modules.
     """
     return ModuleList(self._modules, "led")
示例#7
0
 def envs(self) -> ModuleList:
     """Module List of connected Env modules.
     """
     return ModuleList(self._modules, "env")
示例#8
0
 def gyros(self) -> ModuleList:
     """Module List of connected Gyro modules.
     """
     return ModuleList(self._modules, "gyro")
示例#9
0
 def displays(self) -> ModuleList:
     """Module List of connected Display modules.
     """
     return ModuleList(self._modules, "display")
示例#10
0
 def dials(self) -> ModuleList:
     """Module List of connected Dial modules.
     """
     return ModuleList(self._modules, "dial")
示例#11
0
 def buttons(self) -> ModuleList:
     """Module List of connected Button modules.
     """
     return ModuleList(self._modules, 'button')
示例#12
0
 def networks(self) -> ModuleList:
     return ModuleList(self._modules, 'network')
示例#13
0
 def modules(self) -> ModuleList:
     """Module List of connected modules except network module.
     """
     return ModuleList(self._modules)