commands.light_methods – ???¶
???
LightMethods Class¶
- class commands.light_methods.LightMethods(???)¶
???
Methods
- __init__(???)¶
Closure function. ???
- get_methods(???)¶
???
- handle_display_rotate_direction(???)¶
???
- handle_display_rotate_orientation(???)¶
???
- handle_ultrasonic_light_up(???)¶
???
- handle_display_clear(???)¶
???
- handle_display_animation(???)¶
???
- handle_center_button_lights(???)¶
???
- handle_display_set_pixel(???)¶
???
- handle_display_sync(???)¶
???
- handle_display_image_for(???)¶
???
- show_frames(???)¶
???
- handle_display_image(???)¶
???
- handle_display_text(???)¶
???
- static _merge_display_params(???)¶
???
Constants
- DEFAULT_DISPLAY_PARAMS = {'fade': 0, 'delay': 500, 'wait': False, 'loop': False, 'clear': False}¶
Imports¶
Function
util.rotation.rotate_hub_displayFunction
util.scratch.number_color_to_rgbFunction
util.scratch.percent_to_intFunction
util.sensors.set_display_syncConstant
util.constants.NO_STATUS= -1Constant
util.constants.PORTS= {‘C’: Port(C), ‘B’: Port(B), ‘D’: Port(D), ‘E’: Port(E), ‘A’: Port(A), ‘F’: Port(F)}