<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Adafruit PiTFT Touchscreen issue</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/34fd36aeec/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/34fd36aeec/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/34fd36aeec/</id><updated>2020-02-27T16:56:31.563000Z</updated><subtitle>Recent posts to Adafruit PiTFT Touchscreen issue</subtitle><entry><title>Adafruit PiTFT Touchscreen issue</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/34fd36aeec/?limit=25#5190" rel="alternate"/><published>2020-02-27T16:56:31.563000Z</published><updated>2020-02-27T16:56:31.563000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com564d37954df57d4fd6a0fba6841057ea3f5f34fb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; c336pilot&lt;/p&gt;
&lt;p&gt;"This display uses the hardware SPI pins (SCK, MOSI, MISO, CE0, CE1) as well as GPIO #25, #24.  GPIO #18 can be used to PWM dim the backlight....."&lt;/p&gt;
&lt;p&gt;I had (inadvertently) left GPIO #25 setup as an output pin in my Codesys program.  In any case, once rectified, the display with resistive touch screen works well.&lt;/p&gt;
&lt;p&gt;RT&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Adafruit PiTFT Touchscreen issue</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/34fd36aeec/?limit=25#c9fe" rel="alternate"/><published>2020-02-27T16:56:30.630000Z</published><updated>2020-02-27T16:56:30.630000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com6eccba07c7eb33b8689e0cd20b671a1122a00efc</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; c336pilot&lt;/p&gt;
&lt;p&gt;Hello, I'm using a RPI3 with Adafruit's PiTFT 3.5" 480x320 touchscreen (PID2441).  I also have a mouse connected to the Pi.&lt;/p&gt;
&lt;p&gt;When I use the mouse to click a rocker switch (or, equal) and Ladder for programming, everything works fine, i.e. I can click the control and the output toggles repeatedly.&lt;/p&gt;
&lt;p&gt;When I use the touch screen, however, strange things happen.  Cursor will move about on the screen so long as I don't touch the Rocker Switch.  If I touch the rocker switch, the associated variable will toggle once and then the cursor will no longer move or re-toggle the switch, i.e. I can use the touchscreen to move the cursor around and then when I touch (or double touch) the control the cursor turns to a finger, toggles the control, and then locks up.  After that I can no longer move the cursor using the touchscreen or click the control again (it's as if it just stayed down).  ...the mouse, however, continues to work just as-expected (so, codesys continues to work fine).&lt;/p&gt;
&lt;p&gt;Once the touchscreen is locked-up (and, once it's locked-up in Codesys....it remains locked-up at the RPI GuI also), I have to to re-boot the RPi to get the touchscreen to work again.&lt;/p&gt;
&lt;p&gt;And, if I don't start Codesys, the touchscreen works just fine in all aspects on the Pi Gui.&lt;/p&gt;
&lt;p&gt;Thoughts?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>