with gLCD_ST7565R_SPI1 only half of the display can be written

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
Pascal_2016
Posts: 89
Joined: Wed Aug 31, 2016 4:48 pm
Been thanked: 4 times
Contact:

with gLCD_ST7565R_SPI1 only half of the display can be written

Post by Pascal_2016 »

Hello

I want to display text and graphics on my display.

I use the following component:

1. an Arduino UNO
2. a graphic display with the ST7565 SPI controllers
3. the flowcode component "gLCD_ST7565R_SPI1".

When I clear the screen, only half the screen is cleared. I can only display the text in one half of the screen. The other half of the screen shows pixel snow.

What do I have to do to write and draw across the entire screen?

Has anyone had a similar problem with the ST7565 or can someone help me solve it?
Attachments
Grafik_ST7565.fcfx
(16.99 KiB) Downloaded 173 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: with "gLCD_ST7565R_SPI1" only half of the display can be written to

Post by Benj »

Hello,

Have you checked the component pixel dimensions are correct for your display.

If these are correct then maybe try swapping the horizontal and vertical dims and see if this makes any difference.

Pascal_2016
Posts: 89
Joined: Wed Aug 31, 2016 4:48 pm
Been thanked: 4 times
Contact:

Re: with "gLCD_ST7565R_SPI1" only half of the display can be written to

Post by Pascal_2016 »

Hello, Benj,

unfortunately, the display size has been set to inactive and is only half the height. I can't adjust the height of the display with that.

Pascal_2016
Posts: 89
Joined: Wed Aug 31, 2016 4:48 pm
Been thanked: 4 times
Contact:

Re: with "gLCD_ST7565R_SPI1" only half of the display can be written to

Post by Pascal_2016 »

Sorry, unfortunately an error message was displayed twice which made me believe that no reply was sent.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: with "gLCD_ST7565R_SPI1" only half of the display can be written to

Post by Benj »

Hello,

Do you have a link or datasheet for your display and I will investigate for you. Just want to check they are not doing anything strange like combining two driver chips together onto one display.

Pascal_2016
Posts: 89
Joined: Wed Aug 31, 2016 4:48 pm
Been thanked: 4 times
Contact:

Re: with "gLCD_ST7565R_SPI1" only half of the display can be written to

Post by Pascal_2016 »

Hello Benj,

Enclosed the datasheet and a screen shot of the attributes of the "gLCD_ST7565R_SPI1".

Pascal_2016
Posts: 89
Joined: Wed Aug 31, 2016 4:48 pm
Been thanked: 4 times
Contact:

with "gLCD_ST7565R_SPI1" only half of the display can be written to

Post by Pascal_2016 »

sorry the attachment was not taken along because of error message from the tool
Attachments
st7565r.pdf
(1.54 MiB) Downloaded 166 times
Eigenschaften_gLCD7565.JPG
Eigenschaften_gLCD7565.JPG (68.55 KiB) Viewed 3270 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: with gLCD_ST7565R_SPI1 only half of the display

Post by Benj »

Hello,

Sorry I'm having technical difficulties with my PC at the moment, here's an updated component you can try which now has editable pixel dimension properties.

Simply copy the file into your "C:\ProgramData\MatrixTSL\FlowcodeV8\Components" folder.
gLCD_ST7565R_SPI.fcpx
(11.43 KiB) Downloaded 178 times

Post Reply