working in progress...

This commit is contained in:
2021-06-19 17:51:37 +02:00
parent 5c88724e38
commit 864acecdd3
4 changed files with 338 additions and 10 deletions

View File

@@ -33,22 +33,22 @@ print("DPI Command : ")
# HDMI_ASPECT_64_27 = 8
p = [0] *17
p[0] = 416 # h_active_pixels = horizontal pixels (width)
p[0] = 848 # h_active_pixels = horizontal pixels (width)
p[1] = 0 # h_sync_polarity = invert hsync polarity
p[2] = 12 # h_front_porch = horizontal forward padding from DE acitve edge
p[3] = 27 # h_sync_pulse = hsync pulse width in pixel clocks
p[4] = 37 # h_back_porch = vertical back padding from DE active edge
p[5] = 234 # v_active_lines = vertical pixels height (lines)
p[2] = 24 # h_front_porch = horizontal forward padding from DE acitve edge
p[3] = 80 # h_sync_pulse = hsync pulse width in pixel clocks
p[4] = 104 # h_back_porch = vertical back padding from DE active edge
p[5] = 480 # v_active_lines = vertical pixels height (lines)
p[6] = 0 # v_sync_polarity = invert vsync polarity
p[7] = 9 # v_front_porch = vertical forward padding from DE active edge
p[8] = 3 # v_sync_pulse = vsync pulse width in pixel clocks
p[9] = 17 # v_back_porch = vertical back padding from DE active edge
p[7] = 3 # v_front_porch = vertical forward padding from DE active edge
p[8] = 10 # v_sync_pulse = vsync pulse width in pixel clocks
p[9] = 7 # v_back_porch = vertical back padding from DE active edge
p[10] = 0 # v_sync_offset_a = leave at zero
p[11] = 0 # v_sync_offset_b = leave at zero
p[12] = 0 # pixel_rep = leave at zero
p[13] = 60 # frame_rate = screen refresh rate in Hz
p[14] = 0 # interlaced = leave at zero
p[15] = 5760000 # pixel_freq = clock frequency (width*height*framerate)
p[15] = 31500000 # pixel_freq = clock frequency (width*height*framerate)
p[16] = 1 # HDMI_ASPECT
print("dpi_timings=", end='')