<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>GFX Library print fucnction</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/94430/gfx-library-print-fucnction</link><description>Hollo 
 Im using the GFX example, want to print string and to clear the screen , i use screen_clear(); function, this is default function gfx example 
 
 
 this is the loop 
 can be so fast? 
 
 
 do i need to implement a buffer? 
 
 or whats is the problem</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 Dec 2022 08:18:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/94430/gfx-library-print-fucnction" /><item><title>RE: GFX Library print fucnction</title><link>https://devzone.nordicsemi.com/thread/400303?ContentTypeID=1</link><pubDate>Tue, 13 Dec 2022 08:18:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:832d7e75-2652-4693-8c33-c8a3f72323f1</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Thank you for sharing the solution you found - I am happy to read that you&amp;#39;ve now got it working as you had intended! :)&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Please do not hesitate to open another ticket if you should encounter any issues or questions in the future.&lt;br /&gt;&lt;br /&gt;Good luck with your development!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GFX Library print fucnction</title><link>https://devzone.nordicsemi.com/thread/400222?ContentTypeID=1</link><pubDate>Mon, 12 Dec 2022 16:32:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a32140a3-bf5b-45d7-9f08-aed205cd79c3</guid><dc:creator>Marcos Tadeo</dc:creator><description>&lt;p&gt;Hello karl&lt;/p&gt;
&lt;p&gt;thanks for you reply&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I could print fast the image and text . i saw other example&amp;nbsp; with nrf51&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/bertrandmartel/adafruit-oled-st7735-dk51"&gt;st7735 with nrf51&lt;/a&gt;&amp;nbsp;this link is for image print&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/38711/controlling-st7789-lcd-with-nrf52-dk/150839"&gt;Controlling ST7789 LCD with NRF52 DK&lt;/a&gt;&amp;nbsp;this post to text fast&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/WhatsApp-Video-2022_2D00_12_2D00_12-at-8.26.23-AM.mp4"&gt;devzone.nordicsemi.com/.../WhatsApp-Video-2022_2D00_12_2D00_12-at-8.26.23-AM.mp4&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I adapted it into my code, it works&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thank you for you support&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GFX Library print fucnction</title><link>https://devzone.nordicsemi.com/thread/400158?ContentTypeID=1</link><pubDate>Mon, 12 Dec 2022 13:42:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0a6ed37-e098-4c20-960e-580548d48138</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello again, Tadeo&lt;br /&gt;&lt;br /&gt;I am glad to hear that you have made improvements to the screen control! :)&amp;nbsp;&lt;/p&gt;
[quote user="Marcos Tadeo"]i would like to get faster print image[/quote]
&lt;p&gt;Is the primary issue to clear the screen faster (i.e without the gradual overwrite of the screen), or is there a specific &amp;#39;refresh rate&amp;#39; you are looking for?&lt;br /&gt;In case of the former, do you know that the screen supports this?&lt;br /&gt;In case of the latter, how do you measure this?&lt;br /&gt;&lt;br /&gt;Do you have the datasheet for the screen driver?&lt;br /&gt;Does the datasheet of the screen driver mention a recommended way to print the screen, or what you can do to increase the speed of the print?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GFX Library print fucnction</title><link>https://devzone.nordicsemi.com/thread/399504?ContentTypeID=1</link><pubDate>Wed, 07 Dec 2022 15:58:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db98ba17-c4a5-48bc-881f-6bd1240e7515</guid><dc:creator>Marcos Tadeo</dc:creator><description>&lt;p&gt;Hello Karl&lt;/p&gt;
&lt;p&gt;thank you for you reply&lt;/p&gt;
[quote userid="87869" url="~/f/nordic-q-a/94430/gfx-library-print-fucnction/399443"]What configuration are you using for you SPI?[/quote]
&lt;p&gt;this is my SPI Configuration&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:159px;max-width:407px;" height="159" src="https://devzone.nordicsemi.com/resized-image/__size/814x318/__key/communityserver-discussions-components-files/4/pastedimage1670427103229v2.png" width="407" alt=" " /&gt;&lt;/p&gt;
[quote userid="87869" url="~/f/nordic-q-a/94430/gfx-library-print-fucnction/399443"]Have you taken a look at &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_gfx.html"&gt;the GFX library documentation concerning LCD frame buffering&lt;/a&gt;?[/quote]
&lt;p&gt;Yes, i saw this post&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/38711/controlling-st7789-lcd-with-nrf52-dk/150839"&gt;Controlling ST7789 LCD with NRF52 DK&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;the print font is better but i need to implement screen clear like a rect fill&lt;/p&gt;
[quote userid="87869" url="~/f/nordic-q-a/94430/gfx-library-print-fucnction/399443"]Which guide/tutorial are you following, is it&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/gfx_example.html"&gt;the GFX Library example&lt;/a&gt;&amp;nbsp;- and if so, is the changes to the while(1) loop above the only modifications you have made to the example?[/quote]
&lt;p&gt;Yes I am using the GFX library example, I changed the SPI&amp;nbsp;Freq 100k to 8M and I implemented&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/38711/controlling-st7789-lcd-with-nrf52-dk/150839"&gt;Controlling ST7789 LCD with NRF52 DK&lt;/a&gt;&amp;nbsp;this example to ST7735 and improved the print method ,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1670427941387v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;and new screen clear method,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;this is the result&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/WhatsApp-Video-2022_2D00_12_2D00_07-at-7.51.43-AM.mp4"&gt;devzone.nordicsemi.com/.../WhatsApp-Video-2022_2D00_12_2D00_07-at-7.51.43-AM.mp4&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;the&amp;nbsp;video shows&amp;nbsp; this&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1670428470089v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:169px;max-width:368px;" height="169" src="https://devzone.nordicsemi.com/resized-image/__size/736x338/__key/communityserver-discussions-components-files/4/pastedimage1670428649952v5.png" width="368" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;i would like to get faster print image&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thank and regards&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Tadeo&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GFX Library print fucnction</title><link>https://devzone.nordicsemi.com/thread/399443?ContentTypeID=1</link><pubDate>Wed, 07 Dec 2022 13:51:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:052943cc-342f-41ab-97a0-2e9a281450cb</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello again,&lt;/p&gt;
[quote user="Marcos Tadeo"]my english is not good[/quote]
&lt;p&gt;No worries at all - I will ask if anything is unclear! :)&amp;nbsp;&lt;/p&gt;
[quote user="Marcos Tadeo"]&lt;p&gt;I&amp;#39;m thinking , maybe i have a print screen problem , because is flashing ,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;attached a video example, here the lcd print a numbers and do a animation , but its no flashing&amp;nbsp;&lt;/p&gt;[/quote]
&lt;p&gt;I see - I thought the video might have exaggerated the stuttering on the refresh.&lt;br /&gt;Have you taken a look at &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_gfx.html"&gt;the GFX library documentation concerning LCD frame buffering&lt;/a&gt;?&lt;br /&gt;Which guide/tutorial are you following, is it&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/gfx_example.html"&gt;the GFX Library example&lt;/a&gt;&amp;nbsp;- and if so, is the changes to the while(1) loop above the only modifications you have made to the example?&lt;br /&gt;What configuration are you using for you SPI?&lt;/p&gt;
[quote user="Marcos Tadeo"]I moved different values, but I don&amp;#39;t see any change.[/quote]
&lt;p&gt;Could you elaborate on what you mean by this? What values did you change, and where did you expect to see the difference?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GFX Library print fucnction</title><link>https://devzone.nordicsemi.com/thread/398625?ContentTypeID=1</link><pubDate>Thu, 01 Dec 2022 18:00:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cdc0df3e-4201-42d2-89f1-6e6094342f9e</guid><dc:creator>Marcos Tadeo</dc:creator><description>&lt;p&gt;Hello&lt;/p&gt;
[quote userid="87869" url="~/f/nordic-q-a/94430/gfx-library-print-fucnction/398553"]I am not sure either what is the problem - could you elaborate on the behavior you are observing, and how it is different from what you would have expected?[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Yes sure, sorry&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m thinking , maybe i have a print screen problem , because is flashing ,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;attached a video example, here the lcd print a numbers and do a animation , but its no flashing&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I was analyzing the problem&amp;nbsp; i have no idea if i need to add a buffer funtion or some configuration in sdk_ config.h or nrf_gfx library&lt;/p&gt;
&lt;p&gt;i saw this function&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:77px;max-width:379px;" height="77" src="https://devzone.nordicsemi.com/resized-image/__size/758x154/__key/communityserver-discussions-components-files/4/pastedimage1669916739288v4.png" width="379" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I moved different values, but I don&amp;#39;t see any change.&lt;/p&gt;
&lt;p&gt;i want to make a watch also, using nrf_calendar library ,&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;i can to show a image, and print string characteres with diferents fonts , but the printting is slow&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=T2A4cEktt6Q"&gt;www.youtube.com/watch&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thanks and regards&lt;/p&gt;
&lt;p&gt;my english is not good&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GFX Library print fucnction</title><link>https://devzone.nordicsemi.com/thread/398553?ContentTypeID=1</link><pubDate>Thu, 01 Dec 2022 13:28:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02b074b3-12fb-4f2c-9a60-37471a1c968d</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]&lt;p&gt;this is the loop&lt;/p&gt;
&lt;p&gt;can be so fast?&lt;/p&gt;[/quote]
&lt;p&gt;Could you clarify what you mean by this?&lt;/p&gt;
[quote user=""]or whats is the problem?[/quote]
&lt;p&gt;I am not sure either what is the problem - could you elaborate on the behavior you are observing, and how it is different from what you would have expected?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>