Рет қаралды 91,762
New! ralphbacon.blog
Using a colour touch screen may seem daunting but with the right library and example code it can add a WOW factor to your projects. As a bonus it even includes an SD card reader / writer.
I'll show you how to get started with a very popular variant of the TFT touch screen, including how to make a "button" (spoiler alert: it's not a button just an area of screen that looks like one, that you can then receive touches from).
It's cheap, easy and allows you to dispense with physical buttons and switches on your project's front panel too!
----------
LINKS
----------
All code, sketches and backup libraries are here:
github.com/Ral...
----------------------------------------
Main links repeated here:
----------------------------------------
2.4 Inch TFT LCD Shield Touch Board Display Module For Arduino UNO (Banggood)
www.banggood.co...
(If link is broken just search Banggood for 2.4" TFT LCD - but DO check it's the right one)
Adafruit 2.8" TFT Touch Shield v2 - Capacitive or Resistive
cdn-learn.adaf...
Adafruit libraries for 2.4" AND 2.8" TFT touchscreen (with SD card)
github.com/ada...
Everything you wanted to know about the Adafruit GFX library (core graphics library)
learn.adafruit...
cdn-learn.adaf...
and can be downloaded here:
github.com/ada...
Note: 'Fonts' folder contains bitmap fonts for use with recent (1.1 and later) Adafruit_GFX.
Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!
---
If you like this video please give it a thumbs up, share it and if you're not already subscribed please do so :)
My channel is here:
------------------------------------------------------------------
/ ralphbacon
------------------------------------------------------------------
How can I remember this? Memory tip: "See" Ralph Bacon, geddit?