PicoMite V6.01.00 betas


Author Message
Bleep

Guru

Joined: 09/01/2022
Location: United Kingdom
Posts: 860
Posted: 05:32pm 26 Jul 2025      

Hi Peter,
I've reproduced your circles test pattern and tuned it to give me about 100 cps, the same as your demo, with the CPU at 360MHz and standard LCD drivers, using a ST7796S LCD panel.
I then changed to the ST7796SBUFF driver, I do get a doubling in speed, to about 200 cps, which is not bad, but not as good as your 500 cps, though I do get the same results as you using the GUI TEST LCDPANEL about 540 cps.
I've tried enabeling and disabeling the AUTOREFRESH, both within the code and at the command prompt, nothing I do makes the slightest difference, though the command is accepted, no errors?
I've tried Option autorefresh on/off, both in and out of a program, the LCD still updates exactly the same and still draws about 200 cps.
What am I doing wrong? please help. :-)

PicoMite MMBasic RP2350A Edition V6.01.00b1
OPTION SERIAL CONSOLE COM2,GP8,GP9,BOTH
OPTION SYSTEM SPI GP18,GP19,GP16
OPTION LCD SPI GP26,GP27,GP28
OPTION SYSTEM I2C GP20,GP21
OPTION FLASH SIZE 4194304
OPTION COLOURCODE ON
OPTION CPUSPEED (KHz) 360000
OPTION LCDPANEL CONSOLE 7,,, 50,NOSCROLL
OPTION DISPLAY 40, 80
OPTION LCDPANEL ST7796SBUFF, LANDSCAPE,GP12,GP13,GP14,GP15
OPTION LCD BACKLIGHT 0
OPTION TOUCH GP17,GP7
OPTION SDCARD GP22
OPTION AUDIO GP10,GP11', ON PWM CHANNEL 5
OPTION RTC AUTO ENABLE
OPTION MODBUFF ENABLE  192
OPTION DEFAULT FONT 7, 1


Circle program.

Option Autorefresh Off
Dim Integer a
Dim Integer b(15)=(RGB(white),RGB(yellow),RGB(lilac),RGB(brown),RGB(fuchsia),RGB
(rust),RGB(magenta),RGB(red),RGB(cyan),RGB(green),RGB(cerulean),RGB(midgreen),RG
B(cobalt),RGB(myrtle),RGB(blue),RGB(black))
Timer =0
For a=0 To 500
Circle Rnd*480,Rnd*320,Rnd*75+8,1,,,b(a Mod 16)
Next
Print 100/(Timer/5000)


Regards, Kevin.
PS any chance of a USB version of the BUFF LCD firmware? as my test board is a USB, Thanks.