RCA Unit ========= .. include:: ../refs/unit.rca.ref Unit RCA is a female jack terminal block for transmitting composite video (audio or video), one of the most common A/V connectors, which transmits video or audio signals from a component device to an output device (i.e., a display or speaker). Support the following products: |RCAUnit| Micropython Example: .. literalinclude:: ../../../examples/unit/rca/core2_rca_example.py :language: python :linenos: UIFLOW2 Example: |example.png| .. only:: builder_html |core2_rca_example.m5f2| class RCAUnit ------------- Constructors ------------ .. class:: RCAUnit(port: tuple =(36, 26), width: int = 216, height: = int 144, output_width: int = 216, output_height: = int 144, signal_type: int = 0, use_psram: int = 0, output_level: int = 0) Initialize the Unit RCA :param tuple port: The port to which the Unit RCA is connected. port[0]: not used, port[1]: dac pin. :param int width: The width of the RCA display. :param int height: The height of the RCA display. :param int output_width: The width of the output of the RCA display. :param int output_height: The height of the output of the RCA display. :param int signal_type: The signal type of the RCA display. NTSC=0, NTSC_J=1, PAL=2, PAL_M=3, PAL_N=4. :param int use_psram: The use of psram of the RCA display. :param int output_level: The output level of the RCA display. UIFLOW2: |init.png|