AlbertR Regular Member
 Joined: 29/05/2025 Location: GermanyPosts: 61 |
| Posted: 02:29pm 03 Oct 2025 |
|
|
|
The shown display are two of the 'ES-P2.5-I Pin2dmd' led panel. As shown in the name it has a 2.5mm Pitch, with 128x32 pixel -> 320mmx80mm.
How many pixels can be displayed usefully by MMBasic? That is a question what you want. The PIO is extremely fast, also the displays. In the first demo I draw 500 rectangles a second and the displayrefreshrate, the PIO show pixeldata 3 times for the differnt bits of the color, was 600Hz @ 9.7MHz of the PIO. To reduce flicker in the video, I increase that some times to 60MHz. The PIO is not the bottleneck. That seems to be the memory and the calculationtime for the data. At the moment I use an integer for every pixel. This is useful in order to be able to use the math-functions. They are much faster then loops where you calculate one by one pixel. Unfortunately there are no Byte-Arrays. Do you want more layer to program an background to move over or a grid in the front, you need the display-memory doubled or tripled. How many updates are needed a second. In my application the displaydata for the PIO is double buffered for output. Ones calculated, it will be displayed as long as the PIO run. This contains only 3 bytes for 2 pixel. But you will display changing data i thing. The preparing for 4096pixel(128x32) takes about 1.7ms with a RP2350 @200MHz. This must be done after new data are filed in the Work-Array.
I think 128x128 pixel are possible if not all content is complely new arranged. Scroll by only moving the screen could be more.
Regards Albert |