fruit-bat / pico-dvi-menu

Simple VGA DVI menu system for Pico Pi RP2040 projects
4 stars 0 forks source link

How to use? #9

Open hasaranga opened 2 months ago

hasaranga commented 2 months ago

Hi,

Can you please add an example of how to use these classes for HDMI?

Thanks!

fruit-bat commented 2 months ago

I wrote this to go with: https://github.com/fruit-bat/pico-sorcerer-2 https://github.com/fruit-bat/pico-zxspectrum ...which started life as DVI video output only. Subsequently, this code has been used to drive VGA & lcd displays.

See https://github.com/fruit-bat/pico-zxspectrum/blob/main/src/ZxSpectrumMenu.cpp https://github.com/fruit-bat/pico-zxspectrum/blob/main/src/ZxSpectrumMenu.h https://github.com/fruit-bat/pico-zxspectrum/blob/main/src/main.cpp

hasaranga commented 2 months ago

Dedicated example would be nice on how to use these classes with picodvi library.

fruit-bat commented 2 months ago

Sure, when I get time I will add a 'hello world' example.

fruit-bat commented 1 month ago

I've created a 'hello world' example in the apps folder. It's a bit of a mess but should give an idea of what you need to get a display up and running.

hasaranga commented 1 month ago

Thanks