Skip to main content

LCD Screenshot

This block saves a screenshot of the LCD as a timestamped JPEG file on the device's flash filesystem.

Configuration

  • File Name: prefix for the saved files. Must be under the /lfs mount point. Each capture creates a new file named <prefix>_YYYYMMDD_HHMMSS.jpg.
  • JPEG Quality: Best, High, Medium or Low. A 320x240 screen compresses to roughly 10-40 KB depending on quality and screen content, against 150 KB uncompressed.

Connections

  • Done: executed as soon as the capture starts, not when the file has been written.

The screen is captured strip by strip in between other work, so the device keeps running while the capture is in progress. The display is frozen on its last frame for the duration of the capture and resumes automatically afterwards.

Note

Only one capture can run at a time. Triggering this block while a capture is in progress is ignored.