Projector test app

App to test the projector - MCS hardware data link (see DataSerializerBase).

When run, it shows a screen that allows individually setting the corner pixel bits. It also supports setting the video mode (proxy for frame rate) and the r, g, and b projector LED state.

When run, and if the MCS system is also running and sampling the digital port and pixel mode is ON for the projector, setting the individual bits in the app should also set the MCS port it is connected to high/low.

class ceed.tools.projector_io.IOApp(**kwargs)

Bases: kivy.app.App

The app.

led_mode

Current LED mode from led_modes.

video_mode

Current video mode from video_modes.

led_modes = {'B': 3, 'G': 5, 'GB': 1, 'R': 6, 'RB': 2, 'RG': 4, 'RGB': 0, 'none': 7}

Valid LED modes.

video_modes = ['RGB', 'QUAD4X', 'QUAD12X']

Valid video modes.

screen_size = (1920, 1080)

Size of the screen.

bits_texture

Corner pixel texture.

pixel_mode

If the projector pixel-mode is ON.

build()

Initializes the application; it will be called only once. If this method returns a widget (tree), it will be used as the root widget and added to the window.

Returns

None or a root Widget instance if no self.root exists.

on_start()

Event handler for the on_start event which is fired after initialization (after build() has been called) but before the application has started running.

set_led_mode(mode)

Sets the projector’s LED mode. mode can be one of led_modes.

set_video_mode(mode)

Sets the projector’s video mode. mode can be one of video_modes.