Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add picoVGA as low level lib (as picoDVI) #9649

Open
mrbbp opened this issue Sep 22, 2024 · 0 comments
Open

add picoVGA as low level lib (as picoDVI) #9649

mrbbp opened this issue Sep 22, 2024 · 0 comments
Labels
displayio enhancement rp2 Both RP2 microcontrollers
Milestone

Comments

@mrbbp
Copy link

mrbbp commented Sep 22, 2024

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)

@tannewt tannewt added displayio rp2 Both RP2 microcontrollers labels Sep 23, 2024
@tannewt tannewt added this to the Long term milestone Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
displayio enhancement rp2 Both RP2 microcontrollers
Projects
None yet
Development

No branches or pull requests

2 participants