class documentation
class USBVideoStream(usb_video_mp.USBVideoStream):
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 |
Pixel format of the framebuffer (0=RGB332, 1=RGB565). |