Загрузка страницы

Basic animation in your SPI LCD touchscreen

Once you've got your LCD touchscreen working it opens up a vast array of possibilities to enhance your Arduino projects. You can create games, control panels, information displays or anything else that can use a screen output.

The Adafruit GFX library contains a full set of graphics functions to let you develop your project.

In this video I'll show you how to use the library and where to find out what functions it provides. But I'll also show you the limitations of these SPI screens in terms of speed for animations.

To get animated objects on the screen you need to use an overdrawing method as the data transfer speed is too slow to clear the screen every frame. I'll cover this and then show you how to modify and optimise your code to get smooth animated displays.

All the code used in this video is available on the project page in my website.

https://bytesnbits.co.uk/basic-animation-spi-touchscreen

You can easily get hold of one of these touchscreens at Amazon or eBay.

Amazon: https://amzn.to/39ZyWMD

eBay : http://ebay.us/sOCSyI

Adafruit GFX Library Tutorial
https://learn.adafruit.com/adafruit-gfx-graphics-library/overview

Видео Basic animation in your SPI LCD touchscreen канала Bytes N Bits
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
30 ноября 2020 г. 13:49:32
00:41:04
Яндекс.Метрика