RCAModule

Module 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:

RCAModule

Micropython Example:

import os, sys, io
import M5
from M5 import *
from module import RCAModule
rca = RCAModule()
rca.display.fill(0)

UIFLOW2 Example:

example.svg

class RCAModule

Constructors

class RCAModule(port, width, height, signal_type, output_level, use_psram)

Initialize the Module RCA

参数:
  • port (tuple) – The port to which the Module RCA is connected. port[0]: not used, port[1]: dac pin.

  • width (int) – The width of the RCA display.

  • height (int) – The height of the RCA display.

  • signal_type (int) – The signal type of the RCA display. NTSC=0, NTSC_J=1, PAL=2, PAL_M=3, PAL_N=4.

  • output_level (int) – The output level of the RCA display.

  • use_psram (int) – The use of psram of the RCA display.

UIFLOW2:

init.svg

Methods