35 lines
1.2 KiB
Plaintext
Raw Permalink Normal View History

2019-01-03 20:59:50 +01:00
<!-- { "title": "Why always SPI CS on pin 10?" } -->
2018-06-28 16:01:22 +02:00
<h1>#title#</h1>
<p>
2018-06-28 14:21:08 +02:00
Thank you, Ladyada, for <a href="https://learn.adafruit.com/adafruit-2-8-tft-touch-shield-v2">this great display</a>.
2018-06-28 16:01:22 +02:00
</p>
2018-06-28 14:21:08 +02:00
2018-06-28 16:01:22 +02:00
<p>
2018-06-28 14:21:08 +02:00
But why is TFT CS on pin 10?
2018-06-28 16:01:22 +02:00
</p>
2018-06-28 14:21:08 +02:00
2018-06-28 16:01:22 +02:00
<p>
2019-01-03 20:59:50 +01:00
<a href="files/bildschirmfoto-2016-03-03-um-21-48-49.png" rel="attachment wp-att-711"><img src="files/bildschirmfoto-2016-03-03-um-21-48-49.png" alt="Bildschirmfoto 2016-03-03 um 21.48.49" width="722" height="449" class="alignnone size-full wp-image-711" /></a>
2018-06-28 16:01:22 +02:00
</p>
2018-06-28 14:21:08 +02:00
2018-06-28 16:01:22 +02:00
<p>
2018-06-28 14:21:08 +02:00
Pin 10 is also the SPI CS for the Ethernet shield. Why not, for instance, pin 6:
2018-06-28 16:01:22 +02:00
</p>
2018-06-28 14:21:08 +02:00
2018-06-28 16:01:22 +02:00
<p>
2019-01-03 20:59:50 +01:00
<a href="files/img_1211-e1457038834523.jpg" rel="attachment wp-att-712"><img src="files/IMG_1211-e1457038834523-1024x768.jpg" alt="IMG_1211" width="474" height="356" class="alignnone size-large wp-image-712" /></a>
2018-06-28 16:01:22 +02:00
</p>
2018-06-28 14:21:08 +02:00
2018-06-28 16:01:22 +02:00
<p>
2018-06-28 14:21:08 +02:00
Carefully lift pin 9 of the level shifter and connect it using a thin wire with pin 6 of the Arduino connector.
2018-06-28 16:01:22 +02:00
</p>
2018-06-28 14:21:08 +02:00
2018-06-28 16:01:22 +02:00
<p>
2018-06-28 14:21:08 +02:00
And voila, both the display and the ethernet shield is working:
2018-06-28 16:01:22 +02:00
</p>
2018-06-28 14:21:08 +02:00
2018-06-28 16:01:22 +02:00
<p>
2019-01-03 20:59:50 +01:00
<a href="files/img_1212-e1457039094609.jpg" rel="attachment wp-att-713"><img src="files/IMG_1212-e1457039094609-1024x768.jpg" alt="IMG_1212" width="474" height="356" class="alignnone size-large wp-image-713" /></a>
2018-06-28 16:01:22 +02:00
</p>