class documentation

class USBVideoStream(usb_video_mp.USBVideoStream):

View In Hierarchy

USB Video Stream, sends the current framebuffer over USB.

Methods

  • send_frame()
    Send the current framebuffer over USB (returns True if sent, False if not active)
  • start()
    Start streaming the framebuffer over USB. (then Draw.swap() will send the framebuffer automatically)
  • stop()
    Stop streaming.
Instance Variable - active True if streaming is active, False otherwise.
Instance Variable - pixel_format Pixel format of the framebuffer (0=RGB332, 1=RGB565).
- active =

True if streaming is active, False otherwise.

- pixel_format =

Pixel format of the framebuffer (0=RGB332, 1=RGB565).