Menu
JAQForum Ver 19.10.27

Forum Index : Microcontroller and PC projects : Pimoroni Display pack

Posted: 06:24am
30 Jun 2022
Copy link to clipboard
Rickard5
Guru


Hello Everybody, today I was searching though parts boxes looking for something and came across a Pimoroni pico display pack I don't even remember buying. Must have been one of our many post corporate Hydraulic lunch shopping trips to Microcenter. Anyhow has anyone ever got one of  These  working with MMbasic as a Picomite? I have a Perfect Project in Mind for this tiny screen. thanks in advance for any info! Here is a Link to the Pimoroni product page
Thanks Guys
Rick


 
Posted: 07:13am
30 Jun 2022
Copy link to clipboard
matherp
Guru

Should work nicely. Setup (untested)

OPTION SYSTEM SPI 24,25,1 or OPTION SYSTEM SPI 24,25,6
OPTION LCDPANEL ST7789_135,L,21,22,30,26

NB: MMBasic requires a MISO pin to be specified. You can use 1 or 6 in the set up but these pins then can't be used for anything else.
 
Posted: 07:37am
30 Jun 2022
Copy link to clipboard
Rickard5
Guru


  matherp said  
OPTION SYSTEM SPI 24,25,1 or OPTION SYSTEM SPI 24,25,6
OPTION LCDPANEL ST7789_135,L,21,22,30,26


Hi matherp thank you for the quick response, I jumped up and tried it and got an error that pin 30 was invalid :( Also could I be a Pain and beg for some sample code that would print 2 variables on 2 lines PLEASE


 
Posted: 07:44am
30 Jun 2022
Copy link to clipboard
matherp
Guru

Their docs show LCD_RESET connected to 30

Perhaps they are resetting with the RUN pin?

Try
OPTION LCDPANEL ST7789_135,L,21,31,22,26

TEXT 0,0,"line1"
TEXT 0,mm.fontheight,"line2"
 
Posted: 08:17am
30 Jun 2022
Copy link to clipboard
Rickard5
Guru


Mr Matherp
You sir Are pure Genius


OPTION SYSTEM SPI 24,25,1
OPTION LCDPANEL ST7789_135,L,21,31,22,26


is the TICKET
but can I bother you again with 1 more stupid question, 1) I'm missing something on making the font BIG and
AGAIN SIR THANK YOU!!!
this  has me so wound up it's 3 am in Texas and I just put another pot of coffee on NO SLEEP tonight

Rick
 
Posted: 08:52am
30 Jun 2022
Copy link to clipboard
matherp
Guru

  Quote  I'm missing something on making the font BIG


See page 51 in the manual and use the font command to select the font you want. You can also use the font command to scale the font

e.g.

font 2,2

Selects the 12x20 font and displays it double size
 
Posted: 09:23am
30 Jun 2022
Copy link to clipboard
Rickard5
Guru


Got it Matherp
THANK YOU
RICK
 
Posted: 10:51am
30 Jun 2022
Copy link to clipboard
pwillard
Guru

It does work nicely for being a rather small display.  Been using it on my pimoroni omnibus so I still have access to *all the other* pins on the PICO.
 
Posted: 11:13am
30 Jun 2022
Copy link to clipboard
Rickard5
Guru


  pwillard said    Been using it on my pimoroni omnibus so I still have access to *all the other* pins on the PICO.


HI P my low buck solution I only put in the required pins down and thew "Other Pins" up to access "all the other Pins" Right now I use old Bread Boards as Fixtures to Solder pins in until my Phenolic material  gets here then I'm gonna make some Solder Jigs on the HAAS CNC machining center.
 
Posted: 02:54pm
30 Jun 2022
Copy link to clipboard
Jacx
Newbie

  pwillard said  It does work nicely for being a rather small display.  Been using it on my pimoroni omnibus so I still have access to *all the other* pins on the PICO.


Hi everyone,

it looks quite nice. Is it fast? How many FPS?

Thanks,
Jacx
 
Posted: 03:14pm
30 Jun 2022
Copy link to clipboard
matherp
Guru

  Quote  it looks quite nice. Is it fast? How many FPS?


Not sure what the question means. Clearing the entire screen to a colour takes 30mSec at 125MHz cpu speed
 
Posted: 09:06am
10 Jul 2022
Copy link to clipboard
Jacx
Newbie

Thanks. I think I was expecting there to be a certain refresh rate or something.  

Clearing the screen and redrawing an animation causes a lot of flickering. I assume there is no way of double buffering on this display? Or any way of minimizing tearing?

Jacx
 


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

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025