Skip to content

Commit 035a677

Browse files
authored
Merge pull request #2546 from adafruit/cp_dvi_update
Updating CP PicoDVI example
2 parents 8b73118 + 407c2bb commit 035a677

File tree

1 file changed

+2
-2
lines changed
  • CircuitPython_DVI_Hello_World

1 file changed

+2
-2
lines changed

CircuitPython_DVI_Hello_World/code.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@
2626

2727
# check for DVI Feather
2828
if 'CKP' in dir(board):
29-
fb = picodvi.Framebuffer(640, 480,
29+
fb = picodvi.Framebuffer(320, 240,
3030
clk_dp=board.CKP, clk_dn=board.CKN,
3131
red_dp=board.D0P, red_dn=board.D0N,
3232
green_dp=board.D1P, green_dn=board.D1N,
3333
blue_dp=board.D2P, blue_dn=board.D2N,
3434
color_depth=8)
3535
# otherwise assume Pico
3636
else:
37-
fb = picodvi.Framebuffer(640, 480,
37+
fb = picodvi.Framebuffer(320, 240,
3838
clk_dp=board.GP12, clk_dn=board.GP13,
3939
red_dp=board.GP10, red_dn=board.GP11,
4040
green_dp=board.GP8, green_dn=board.GP9,

0 commit comments

Comments
 (0)