forked from micropython/micropython
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
Milestone
Description
is it possible to add picovga to bundle
or picovga from codaris, to use picovga as a display with framebuffer
as there is picoDVI in circuitpython.
Raspberry give hardware design to use vga with circuitpython
it could be (as picoDVI)
displayio.release_displays()
fb = picovga.Framebuffer(320, 240,
vga_b0=board.GP0, vga_b1=board.GP1,
vga_g0=board.GP2, vga_g1=board.GP3,
vga_g2=board.GP4, vga_r0=board.GP5,
vga_r1=board.GP6, vga_r2=board.GP7, vga_sync=board.GP8,
color_depth=8)
display = framebufferio.FramebufferDisplay(fb)
// GP0 ... VGA B0 blue
// GP1 ... VGA B1
// GP2 ... VGA G0 green
// GP3 ... VGA G1
// GP4 ... VGA G2
// GP5 ... VGA R0 red
// GP6 ... VGA R1
// GP7 ... VGA R2
// GP8 ... VGA SYNC synchronization (inverted: negative SYNC=LOW=0x80, BLACK=HIGH=0x00)