<?xml-stylesheet type="text/xsl" href="https://community.element14.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/"><channel><title>Need Assistance</title><link>/challenges-projects/design-challenges/designforacause/b/blog/posts/need-assistance</link><description>Hello AllI can get the image on the screen just fine but when I touch the image, the system reboots so I went with a suggestion for now just to draw a rectangle and put code to it.Here is the code I am using and I can get the rectangles to display, t</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Need Assistance</title><link>https://community.element14.com/challenges-projects/design-challenges/designforacause/b/blog/posts/need-assistance</link><pubDate>Fri, 31 Aug 2018 01:43:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:46ab19b0-3037-4019-9143-450683bedd68</guid><dc:creator>roborob1266</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I was able to resolve the audio issue. I had to change it from startPlayingFile to playFullFile and the audio files started to play when I touched specific spots on the display!&lt;/p&gt;&lt;p&gt;For now I am going with the rectangle boxes with the text inside and get the audio playing with these boxes.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;The next revision of this device will include the following:&lt;/p&gt;&lt;p&gt;1. Actual images instead of text.&lt;/p&gt;&lt;p&gt;2. Connect a battery to both the Arduino devices to work without USB power.&lt;/p&gt;&lt;p&gt;3. Enable a screen time out to save power.&lt;/p&gt;&lt;p&gt;4. Get the accelerometer to detect when the device is picked up and &amp;quot;wake&amp;quot; the screen up.&lt;/p&gt;&lt;p&gt;5. Enable the Ultrasonic Sensor display on the LCD, the distance it is from an object.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am going to submit my completed project now!&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5429&amp;AppID=206&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Need Assistance</title><link>https://community.element14.com/challenges-projects/design-challenges/designforacause/b/blog/posts/need-assistance</link><pubDate>Thu, 30 Aug 2018 23:47:11 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:46ab19b0-3037-4019-9143-450683bedd68</guid><dc:creator>jomoenginer</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Two things I would look at are the hardware that you are using as well as the libraries that are used.&amp;nbsp; I have found in some instances when using multiple devices connected to an Arduino board that the libraries that are created for each device could conflict with each other,&amp;nbsp; specifically with how the lib is configuring the IO ports.&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Do you get any error listed in the Arduino IDE console window when this event is seen?&lt;/p&gt;&lt;p&gt;Also, you have some serial print statements in the code, so are you watching these to see where the code may be getting hung up at?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Do you still see the issue if you taking out the musicPlayer statements and just maybe print out a note indicating that a touch event occurred?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;What Arduino board are you using?&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5429&amp;AppID=206&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Need Assistance</title><link>https://community.element14.com/challenges-projects/design-challenges/designforacause/b/blog/posts/need-assistance</link><pubDate>Thu, 30 Aug 2018 19:54:16 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:46ab19b0-3037-4019-9143-450683bedd68</guid><dc:creator>14rhb</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hi Rob,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;You could try adding an infinite loop after you print &amp;quot;Touch&amp;quot; to see if there is any issue before that [e.g. while(1).... ]. Then move that loop and/or add other serial.print statements to see how far you get and which bit crashes the system.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;There isn&amp;#39;t anything after your first if statement ...&lt;/p&gt;&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:3ef06e6b-9b7d-4651-b12d-db8be7f5e991:type=c_cpp&amp;amp;text=if+%28tx+%3E+580+%26%26+tx+%3C+680+%26%26+ty+%3E+370+%26%26+ty+%3C+535%29]&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;p&gt;not sure what happens there?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;For info, if you select your code and then use the &lt;strong&gt;&amp;gt;&amp;gt;&lt;/strong&gt; action button, syntax highlighting and then C++, your post will format nicer. You can use the edit button to that effect rather than reposting.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Rod&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5429&amp;AppID=206&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>