Skip to content
Jupiter documentation
Menu

Adjust the picture

Centre the image and understand why it can be smaller than the screen.

The picture position depends on the Porch values in main/main.c. The picture size depends on the monitor.

Centre the picture#

To move the picture sideways, trade pixels between hsync_front_porch and hsync_back_porch. Keep their sum at 54. To move it vertically, trade lines between vsync_front_porch and vsync_back_porch. Keep their sum at 4.

Rebuild and flash after each change. See Build and flash. Set MODE to 0 to see the border and grid while you adjust. See Choose a demo.

Margin around the picture#

On the INTRA monitor used to develop this firmware, a margin of about 2 cm remained around the grid. The signal is a standard 720x350 raster, and the monitor sets how much of the glass the picture covers. The monitor's front controls adjust brightness and contrast only.

Source: belikh/monochrome HEAD