_api.large_technic_hub – central hub API¶
This module contains the specific instances of other API classes for user interaction with various aspects of the central hub brick.
The class in this module is superclassed by the mindstorms.MSHub and
spike.PrimeHub classes so that the API can be branded appropriately in
documentation (i.e. so that Mindstorms docs can tell you to import mindstorms,
and Spike Prime docs can tell you to import spike).
LargeTechnicHub Class¶
- class _api.large_technic_hub.LargeTechnicHub(???)¶
???
Properties
- property status_light¶
???
- property light_matrix¶
???
- property left_button¶
???
- property right_button¶
???
- property motion_sensor¶
???
- property speaker¶
???
Constants
- PORT_A = A¶
- PORT_B = B¶
- PORT_C = C¶
- PORT_D = D¶
- PORT_E = E¶
- PORT_F = F¶
Constants to specify specific ports on the Hub.
- _status_light¶
A reference to the specific
_api.statuslight.StatusLightobject representing the status light under the main button on the Hub.
- _light_matrix¶
A reference to the specific
_api.lightmatrix.LightMatrixobject representing the 5x5 display on the Hub.
- _left_button¶
A reference to the specific
_api.button.Buttonobject representing the left button on the Hub.
- _right_button¶
A reference to the specific
_api.button.Buttonobject representing the right button on the Hub.
- _motion_sensor¶
A reference to the specific
_api.motionsensor.MotionSensorobject representing the motion sensor in the Hub.
- _speaker¶
A reference to the specific
_api.speaker.Speakerobject representing the speaker in the Hub.
Imports¶
Function
_api.button.ButtonFunction
_api.lightmatrix.LightMatrixFunction
_api.motionsensor.MotionSensorFunction
_api.speaker.SpeakerFunction
_api.statuslight.StatusLight