<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Lesson 1.2.1. LCD. How to create image array]]></title><description><![CDATA[<p dir="auto"><strong>Step 1. Download this program to convert the image into code С for the link <a href="https://yadi.sk/d/wJ4dOt6L3Qbmde" target="_blank" rel="noopener noreferrer nofollow ugc">here</a> or GitHub <a href="https://github.com/dsiberia9s/ImageToCode" target="_blank" rel="noopener noreferrer nofollow ugc">here</a> (Fig. 1);</strong><br />
<strong>Note: the program requires a pre-installed NET.Framework 4.5 or newer.</strong></p>
<p dir="auto"><img src="https://pp.userapi.com/c841334/v841334016/48998/eIcljhuQ0ac.jpg" alt="alt text" class=" img-fluid img-markdown" /><br />
Figure 1. Download the program from the website</p>
<p dir="auto"><strong>Step 2. Prepare any image format .bmp, .png or .jpg (Fig. 2);</strong></p>
<p dir="auto"><img alt="alt text" class=" img-fluid img-markdown" /><br />
Figure 2. The program folder and image</p>
<p dir="auto"><strong>Step 3. Drag with mouse the picture to the program icon and release (Fig. 3);</strong></p>
<p dir="auto"><img src="https://pp.userapi.com/c841334/v841334016/489a0/eIXtYOAWHl0.jpg" alt="alt text" class=" img-fluid img-markdown" /><br />
Figure 3. Drag and drop the image onto the program icon</p>
<p dir="auto"><strong>Step 4. Starts a console application which will show the status in percentage (Fig. 4);</strong></p>
<p dir="auto"><img src="https://pp.userapi.com/c841334/v841334016/489a9/00zt3vHLIBI.jpg" alt="alt text" class=" img-fluid img-markdown" /><br />
Figure 4. Running the conversion process</p>
<p dir="auto"><strong>Step 5. After the program automatically closes and the folder appears a file with the image name and extension .c (Fig. 5);</strong></p>
<p dir="auto"><img src="https://pp.userapi.com/c841334/v841334016/489b1/dcbscQ61s4o.jpg" alt="alt text" class=" img-fluid img-markdown" /><br />
Figure 5. Received .c file with array of image</p>
<p dir="auto"><strong>Step 6. Create a new sketch using the Arduino IDE (see previous tutorials) and save it to our folder, then move .c file in the folder with the sketch (Fig. 6);</strong></p>
<p dir="auto"><img src="https://pp.userapi.com/c841334/v841334016/489b9/dNBcpnWPl0k.jpg" alt="alt text" class=" img-fluid img-markdown" /><br />
Figure 6. The folder and sketch .c-file inside our folder</p>
<p dir="auto"><strong>Step 7. Go to the folder with the sketch and open the sketch (Fig. 7, 8);</strong></p>
<p dir="auto"><img src="https://pp.userapi.com/c841334/v841334016/489c1/wUG2bHVPwDA.jpg" alt="alt text" class=" img-fluid img-markdown" /><br />
Figure 7. The folder with the sketch</p>
<p dir="auto"><img src="https://pp.userapi.com/c841334/v841334016/489ca/rcUP9egZin0.jpg" alt="alt text" class=" img-fluid img-markdown" /><br />
Figure 8. New sketch in the Arduino IDE</p>
<p dir="auto"><strong>Step 8. Use following code to connect .the c-file and display the image on the screen (Fig. 9). Note that on line 3 you need to write your name.the c-file, for example dukeprofile;</strong></p>
<p dir="auto"><img src="https://pp.userapi.com/c841334/v841334016/489d2/HQuy1D-6MMw.jpg" alt="alt text" class=" img-fluid img-markdown" /><br />
Figure 9. Our sketch</p>
<p dir="auto"><strong>Step 9. Click the Upload button (Fig. 10) in order to flash the device;</strong></p>
<p dir="auto"><img src="https://pp.userapi.com/c841334/v841334016/489d9/qiG6MZeCzSg.jpg" alt="alt text" class=" img-fluid img-markdown" /><br />
Figure 10. Upload the firmware to the device</p>
<p dir="auto"><strong>Step 10. When the device firmware is completed, the device screen will appear with the image (Fig. 11).</strong></p>
<p dir="auto"><img src="https://pp.userapi.com/c841334/v841334016/489e3/xfqFtq--gF8.jpg" alt="alt text" class=" img-fluid img-markdown" /><br />
Figure 11. The image on display</p>
]]></description><link>https://community.m5stack.com/topic/49/lesson-1-2-1-lcd-how-to-create-image-array</link><generator>RSS for Node</generator><lastBuildDate>Tue, 28 Apr 2026 17:47:10 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/49.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 11 Dec 2017 10:14:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Lesson 1.2.1. LCD. How to create image array on Thu, 11 Mar 2021 13:10:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mikemoy" aria-label="Profile: mikemoy">@<bdi>mikemoy</bdi></a> Oh! Sorry. You can download this app here: <a href="https://ru.m5stack.com/downloads/Image2Code.exe" target="_blank" rel="noopener noreferrer nofollow ugc">https://ru.m5stack.com/downloads/Image2Code.exe</a></p>
]]></description><link>https://community.m5stack.com/post/12921</link><guid isPermaLink="true">https://community.m5stack.com/post/12921</guid><dc:creator><![CDATA[Dimi]]></dc:creator><pubDate>Thu, 11 Mar 2021 13:10:23 GMT</pubDate></item><item><title><![CDATA[Reply to Lesson 1.2.1. LCD. How to create image array on Thu, 11 Mar 2021 03:10:07 GMT]]></title><description><![CDATA[<p dir="auto">This seems like a great tool, but the link no longer works.</p>
]]></description><link>https://community.m5stack.com/post/12920</link><guid isPermaLink="true">https://community.m5stack.com/post/12920</guid><dc:creator><![CDATA[mikemoy]]></dc:creator><pubDate>Thu, 11 Mar 2021 03:10:07 GMT</pubDate></item><item><title><![CDATA[Reply to Lesson 1.2.1. LCD. How to create image array on Fri, 18 Oct 2019 04:53:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/paahaa" aria-label="Profile: paahaa">@<bdi>paahaa</bdi></a> said in <a href="/post/6036">Lesson 1.2.1. LCD. How to create image array</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ajb2k3" aria-label="Profile: ajb2k3">@<bdi>ajb2k3</bdi></a> not sure if you haven't found it yet, but, on linux, I use Wine, a windows emulator with which you can execute .exe<br />
Here's the link:<br />
<a href="https://www.winehq.org/" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.winehq.org/</a></p>
</blockquote>
<p dir="auto">Thanks, but this guide is out of date now that I have worked out and documented how to make images work.</p>
]]></description><link>https://community.m5stack.com/post/6038</link><guid isPermaLink="true">https://community.m5stack.com/post/6038</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Fri, 18 Oct 2019 04:53:35 GMT</pubDate></item><item><title><![CDATA[Reply to Lesson 1.2.1. LCD. How to create image array on Thu, 17 Oct 2019 23:12:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ajb2k3" aria-label="Profile: ajb2k3">@<bdi>ajb2k3</bdi></a> not sure if you haven't found it yet, but, on linux, I use Wine, a windows emulator with which you can execute .exe<br />
Here's the link:<br />
<a href="https://www.winehq.org/" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.winehq.org/</a></p>
]]></description><link>https://community.m5stack.com/post/6036</link><guid isPermaLink="true">https://community.m5stack.com/post/6036</guid><dc:creator><![CDATA[paahaa]]></dc:creator><pubDate>Thu, 17 Oct 2019 23:12:36 GMT</pubDate></item><item><title><![CDATA[Reply to Lesson 1.2.1. LCD. How to create image array on Sun, 17 Jun 2018 17:10:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dimi" aria-label="Profile: dimi">@<bdi>dimi</bdi></a> 在 <a href="/post/1091">Lesson 1.2.1. LCD. How to create image array</a> 中说：</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ajb2k3" aria-label="Profile: ajb2k3">@<bdi>ajb2k3</bdi></a> <a href="https://yadi.sk/d/j9ryFVn83XXmkf" target="_blank" rel="noopener noreferrer nofollow ugc">https://yadi.sk/d/j9ryFVn83XXmkf</a></p>
</blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dimi" aria-label="Profile: Dimi">@<bdi>Dimi</bdi></a> - I am also a Mac users and can't use exe's</p>
]]></description><link>https://community.m5stack.com/post/1093</link><guid isPermaLink="true">https://community.m5stack.com/post/1093</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Sun, 17 Jun 2018 17:10:25 GMT</pubDate></item><item><title><![CDATA[Reply to Lesson 1.2.1. LCD. How to create image array on Fri, 15 Jun 2018 17:45:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/world101" aria-label="Profile: world101">@<bdi>world101</bdi></a> 在 <a href="/post/612">Lesson 1.2.1. LCD. How to create image array</a> 中说：</p>
<blockquote>
<p dir="auto">Is there an equivalent “image to code C” program for a Mac?</p>
</blockquote>
<p dir="auto">Not found one but there is an online tool.</p>
]]></description><link>https://community.m5stack.com/post/1073</link><guid isPermaLink="true">https://community.m5stack.com/post/1073</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Fri, 15 Jun 2018 17:45:42 GMT</pubDate></item><item><title><![CDATA[Reply to Lesson 1.2.1. LCD. How to create image array on Mon, 19 Mar 2018 14:42:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/world101" aria-label="Profile: world101">@<bdi>world101</bdi></a> sorry, I dont have Mac. maybe</p>
]]></description><link>https://community.m5stack.com/post/617</link><guid isPermaLink="true">https://community.m5stack.com/post/617</guid><dc:creator><![CDATA[Dimi]]></dc:creator><pubDate>Mon, 19 Mar 2018 14:42:16 GMT</pubDate></item><item><title><![CDATA[Reply to Lesson 1.2.1. LCD. How to create image array on Sun, 18 Mar 2018 11:04:03 GMT]]></title><description><![CDATA[<p dir="auto">Is there an equivalent “image to code C” program for a Mac?</p>
]]></description><link>https://community.m5stack.com/post/612</link><guid isPermaLink="true">https://community.m5stack.com/post/612</guid><dc:creator><![CDATA[world101]]></dc:creator><pubDate>Sun, 18 Mar 2018 11:04:03 GMT</pubDate></item><item><title><![CDATA[Reply to Lesson 1.2.1. LCD. How to create image array on Mon, 12 Mar 2018 05:27:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/xbcke1234" aria-label="Profile: xbcke1234">@<bdi>xbcke1234</bdi></a> ok, i make new version on this week with auto size mode</p>
]]></description><link>https://community.m5stack.com/post/584</link><guid isPermaLink="true">https://community.m5stack.com/post/584</guid><dc:creator><![CDATA[Dimi]]></dc:creator><pubDate>Mon, 12 Mar 2018 05:27:20 GMT</pubDate></item><item><title><![CDATA[Reply to Lesson 1.2.1. LCD. How to create image array on Fri, 09 Mar 2018 11:10:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/xbcke1234" aria-label="Profile: xbcke1234">@<bdi>xbcke1234</bdi></a> Hi, no problem !</p>
<p dir="auto">Be sure to check out Dimi's recent lesson if you haven't already:<br />
<a href="http://forum.m5stack.com/topic/130/lesson-7-mpu9250-game-space-defense-beta" target="_blank" rel="noopener noreferrer nofollow ugc">http://forum.m5stack.com/topic/130/lesson-7-mpu9250-game-space-defense-beta</a></p>
]]></description><link>https://community.m5stack.com/post/541</link><guid isPermaLink="true">https://community.m5stack.com/post/541</guid><dc:creator><![CDATA[JJ]]></dc:creator><pubDate>Fri, 09 Mar 2018 11:10:43 GMT</pubDate></item><item><title><![CDATA[Reply to Lesson 1.2.1. LCD. How to create image array on Fri, 09 Mar 2018 11:07:49 GMT]]></title><description><![CDATA[<p dir="auto">@jimit<br />
Thank you for the quick reply. I was mean the first download link not working as Figure 1. But after you point out the .exe file location - is work for me now. Thanks!!!</p>
]]></description><link>https://community.m5stack.com/post/540</link><guid isPermaLink="true">https://community.m5stack.com/post/540</guid><dc:creator><![CDATA[xbcke1234]]></dc:creator><pubDate>Fri, 09 Mar 2018 11:07:49 GMT</pubDate></item><item><title><![CDATA[Reply to Lesson 1.2.1. LCD. How to create image array on Thu, 08 Mar 2018 16:44:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/xbcke1234" aria-label="Profile: xbcke1234">@<bdi>xbcke1234</bdi></a>   Hi Xbcke1234,</p>
<p dir="auto">Do you mean that the first link to download the files is not working ?  Or do you mean you have downloaded the program and it is not working for you?</p>
<p dir="auto">Note that the lesson also lists a github link which has the image conversion program - it should work. I've copied the link below....</p>
<p dir="auto">The exe file is located in: ConsoleApplication1\obj\Release</p>
<p dir="auto"><a href="https://github.com/dsiberia9s/ImageToCode" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/dsiberia9s/ImageToCode</a></p>
]]></description><link>https://community.m5stack.com/post/538</link><guid isPermaLink="true">https://community.m5stack.com/post/538</guid><dc:creator><![CDATA[JJ]]></dc:creator><pubDate>Thu, 08 Mar 2018 16:44:24 GMT</pubDate></item><item><title><![CDATA[Reply to Lesson 1.2.1. LCD. How to create image array on Thu, 08 Mar 2018 15:49:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dimi" aria-label="Profile: dimi">@<bdi>dimi</bdi></a> 在 <a href="/post/88">Lesson 1.2.1. LCD. How to create image array</a> 中说：</p>
<blockquote>
<p dir="auto">link</p>
</blockquote>
<p dir="auto">The program that converts image into code C "link" is invalid. Could you update new one? Appreciate!</p>
]]></description><link>https://community.m5stack.com/post/537</link><guid isPermaLink="true">https://community.m5stack.com/post/537</guid><dc:creator><![CDATA[xbcke1234]]></dc:creator><pubDate>Thu, 08 Mar 2018 15:49:26 GMT</pubDate></item></channel></rss>