Updating CP PicoDVI example
Updating CircuitPython PicoDVI example to use new resolution
This commit is contained in:
parent
8b73118252
commit
407c2bb4d1
1 changed files with 2 additions and 2 deletions
|
|
@ -26,7 +26,7 @@ displayio.release_displays()
|
|||
|
||||
# check for DVI Feather
|
||||
if 'CKP' in dir(board):
|
||||
fb = picodvi.Framebuffer(640, 480,
|
||||
fb = picodvi.Framebuffer(320, 240,
|
||||
clk_dp=board.CKP, clk_dn=board.CKN,
|
||||
red_dp=board.D0P, red_dn=board.D0N,
|
||||
green_dp=board.D1P, green_dn=board.D1N,
|
||||
|
|
@ -34,7 +34,7 @@ if 'CKP' in dir(board):
|
|||
color_depth=8)
|
||||
# otherwise assume Pico
|
||||
else:
|
||||
fb = picodvi.Framebuffer(640, 480,
|
||||
fb = picodvi.Framebuffer(320, 240,
|
||||
clk_dp=board.GP12, clk_dn=board.GP13,
|
||||
red_dp=board.GP10, red_dn=board.GP11,
|
||||
green_dp=board.GP8, green_dn=board.GP9,
|
||||
|
|
|
|||
Loading…
Reference in a new issue