Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 22:08 23 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : 2350 future and hdmi and usb

Author Message
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2112
Posted: 11:06pm 13 Nov 2024
Copy link to clipboard 
Print this post

I've fallen for pico2 stuff. dropped into usb vga and olimex for hdmi and just picomite ili9341. what does 2350 d0 for ili glcd? is it worth it?
vga has mode 3, cool.
hdmi same mode 1 to 3 then other low res modes with more colours, I think.
is pico2 the future?

 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6772
Posted: 07:50am 14 Nov 2024
Copy link to clipboard 
Print this post

On a LCD display your colours and resolution are always defined by the display's capabilities. MMBasic can provide RGB888. The speed of the display is set by the interface. SPI is restricted by the maximum that the display can handle. For best speed you need a 16-bit parallel interface to the display (and one that can handle it, of course!). In parallel mode a 2350 is faster than a 2040. I think they are about the same in SPI mode, although processing of the framebuffer is faster so the display may appear to be a bit quicker. I've not proved this as I've not had a ILI9341 on a 2350 yet.

VGA colours are restricted to 16 by the resistor network. That's the maximum that MMBasic will provide on any platform. They will always be the same colours because it's defined in hardware.

HDMI can provide many, many more colours, depending on resolution. Even when only producing 16 colours they can be chosen from a much larger palette.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2112
Posted: 05:46pm 14 Nov 2024
Copy link to clipboard 
Print this post

It was posted the 2040 doesn't do hdmi, needs 2350 but the board I bought is advertised as 2040 dev board but uses hdmi? I use it with 2350.
https://thepihut.com/products/olimex-rp2040-pico-pc-for-raspberry-pi-pico
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6772
Posted: 05:57pm 14 Nov 2024
Copy link to clipboard 
Print this post

The RP2040 can't do HDMI from MMBasic. It can to some extent if you program it in C.
That's why the Olimex board is described as a RP2040 dev board - they expect you to program it in C or microPython.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2112
Posted: 06:25pm 14 Nov 2024
Copy link to clipboard 
Print this post

Ta Mick, "C or microPython" , wish I learnt, had a c compiler for zx spectrum but as easy to master then as now.
 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 857
Posted: 08:07pm 14 Nov 2024
Copy link to clipboard 
Print this post

  stanleyella said  Ta Mick, "C or microPython" , wish I learnt, had a c compiler for zx spectrum but as easy to master then as now.


Write in BASIC, copy it and paste into copilot and ask it to translate to Python.

Do snippets at a time  
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2112
Posted: 09:00pm 14 Nov 2024
Copy link to clipboard 
Print this post

try converting this gcbasic to mmbasic

AS7262lib=todo.zip


AS7262spectrum-gcbtopico.zip
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024