user6525: I'm using a TFT Touchscreen shield with my Arduino UNO, and I'm running "tftpaint" example by Adafruit.
I've noticed that when initializing the Touchscreen object, a resistance value must be provided. Library default is 300, but a comment in the code says:
// For better pressure precision, we need to know the resistance
// between X+ and X- Use any multimeter to read it

How should I perform such measurement? Where do I put the probes of my multimeter? FYI, my shield is this one:


user31105: Your TFT seems like this: TFT LCD SPFD5408
I cannot find a datasheet, but normally the X+ and X- are shown on the device... if not, try to find the datasheet and look for the pin numbers.

user6525: As pointed out in other answers and comments, step one was trying to get a datasheet for this component. I couldn't find a datasheet for the shield, but here is the link from the vendor I bought it from, and they provided with some articles were they explained how to perform the resistance measure. However, I then noticed the answer was in the example code itself.
Btw, the shield it's indeed based on SPFD5408 as correctly suggested by user Michel Keijzers on his answer.
So, in turns out the hint to which pins were X+ and X- was actually in the example code I'm using. Here the Touchscreen object is initialized:
TouchScreen ts = TouchScreen(XP, YP, XM, YM, 300);

Notice the usage of constants XP and XM. The names stand for "X-plus" (X+) and "X-minus" (X-). Now if we look a couple of lines above where these constants are defined, we see this:
#define YP A3
#define XM A2
#define YM 9
#define XP 8

In particular, we see that XM (i.e. "X-") is mapped to analog pin A2, and XP (i.e. "X+") is mapped to digital pin 8.
Now, by looking at how the shield couples with arduino, we can see that analog pin A2 of the Arduino board, connects with pin labeled "LCD_RS" in the shield, and that pin 8 connects with pin labeled "LCD_D0".
This is a picture (found online) of the bottom side of the shield, were we can see the labels for each pin:

Finally, with a multimeter at those pins, I measured the resistance and it was 292 Ohms. Not so different from the default of 300 in the library, but it's still a good thing to have the correct value.

6525: <p>I'm using a TFT Touchscreen shield with my Arduino UNO, and I'm running "<a href="https://github.com/adafruit/TFTLCD-Library/blob/master/examples/tftpaint/tftpaint.ino" rel="noreferrer">tftpaint</a>" example by Adafruit.</p>

<p>I've noticed that when initializing the Touchscreen object, a resistance value must be provided. Library default is 300, but <a href="https://github.com/adafruit/TFTLCD-Library/blob/master/examples/tftpaint/tftpaint.ino#L57" rel="noreferrer">a comment in the code</a> says:</p>

<pre><code>// For better pressure precision, we need to know the resistance
// between X+ and X- Use any multimeter to read it
</code></pre>

<p>How should I perform such measurement? Where do I put the probes of my multimeter? FYI, my shield is this one:</p>

<p><a href="https://i.stack.imgur.com/UuLbj.png" rel="noreferrer"><img src="https://i.stack.imgur.com/UuLbj.png" alt="TFT Touchscreen Arduino Shield"></a></p>
 31105: <p>Your TFT seems like this: <a href="https://www.aliexpress.com/item/1sets-Special-promotions-2-4G-wireless-modules-1100-Meters-Long-Distance-NRF24L01-PA-LNA-wireless-modules/32787846044.html?spm=a2g0s.9042311.0.0.97LZRv" rel="nofollow noreferrer">TFT LCD SPFD5408</a></p>

<p>I cannot find a datasheet, but normally the X+ and X- are shown on the device... if not, try to find the datasheet and look for the pin numbers.</p>
 6525: <p>As pointed out in other answers and comments, step one was trying to get a datasheet for this component. I couldn't find a datasheet for the shield, but here is <a href="http://www.monarcaelectronica.com.ar/pantalla-tactil-tft-lcd-color-24-lector-micro-sd-arduino-140186063xJM" rel="noreferrer">the link from the vendor</a> I bought it from, and they provided with some articles were they explained how to perform the resistance measure. However, I then noticed the answer was in the example code itself.</p>

<p>Btw, the shield it's indeed based on SPFD5408 as correctly suggested by user Michel Keijzers on his answer.</p>

<p>So, in turns out the hint to which pins were X+ and X- was actually in the example code I'm using. <a href="https://github.com/adafruit/TFTLCD-Library/blob/master/examples/tftpaint/tftpaint.ino#L60" rel="noreferrer">Here</a> the Touchscreen object is initialized:</p>

<pre class="lang-c prettyprint-override"><code>TouchScreen ts = TouchScreen(XP, YP, XM, YM, 300);
</code></pre>

<p>Notice the usage of constants <code>XP</code> and <code>XM</code>. The names stand for "X-plus" (X+) and "X-minus" (X-). Now if we look a couple of lines above where these constants are <a href="https://github.com/adafruit/TFTLCD-Library/blob/master/examples/tftpaint/tftpaint.ino#L48" rel="noreferrer">defined</a>, we see this:</p>

<pre class="lang-c prettyprint-override"><code>#define YP A3
#define XM A2
#define YM 9
#define XP 8
</code></pre>

<p>In particular, we see that <code>XM</code> (i.e. "X-") is mapped to analog pin <code>A2</code>, and <code>XP</code> (i.e. "X+") is mapped to digital pin <code>8</code>.</p>

<p>Now, by looking at how the shield couples with arduino, we can see that analog pin <code>A2</code> of the Arduino board, connects with pin labeled "<code>LCD_RS</code>" in the shield, and that pin <code>8</code> connects with pin labeled "<code>LCD_D0</code>".</p>

<p>This is a picture (found online) of the bottom side of the shield, were we can see the labels for each pin:</p>

<p><a href="https://i.stack.imgur.com/2zJ4B.png" rel="noreferrer"><img src="https://i.stack.imgur.com/2zJ4B.png" alt="TFT LCD Shield bottom"></a></p>

<p>Finally, with a multimeter at those pins, I measured the resistance and it was 292 Ohms. Not so different from the default of <code>300</code> in the library, but it's still a good thing to have the correct value.</p>
