Build Snake on a Microcontroller - Part 2: Control the Snake - Day 48 of

Поделиться
HTML-код
  • Опубликовано: 15 июл 2024
  • Learn how to build Nokia 3310 Snake Game on ESP8266 with a TFT screen connected in a step-by-step tutorial.
    In part 2 I show how to draw a snake on a TFT screen and how to control its movement with the buttons.
    You can find the code from this episode here:
    github.com/ttarnowski/esp8266...
    Parts and components used in the video:
    - ESP8266 microcontroller (~5$ a piece):
    UK: www.amazon.co.uk/s?k=nodemcu+...
    US: www.amazon.com/s?k=esp8266
    - TFT Screen 1.8inch 160x128
    UK: www.amazon.co.uk/s?k=tft+colo...
    US: www.amazon.com/s?k=tft+color+...
    - 4x Button:
    UK: www.amazon.co.uk/s?k=arduino+...
    US: www.amazon.com/s?k=arduino+pu...
    - Breadboard:
    UK: www.amazon.co.uk/s?k=breadboard
    US: www.amazon.com/s?k=breadboard
    - Wires:
    UK: www.amazon.co.uk/s?k=arduino+...
    US: www.amazon.com/s?k=arduino+wires
    - micro USB cable:
    UK: www.amazon.co.uk/s?k=micro+us...
    US: www.amazon.com/s?k=micro+usb+...
    or (for mac)
    UK: www.amazon.co.uk/s?k=type+c+t...
    US: www.amazon.com/s?k=type+c+to+...
    Software I use to draw circuit diagrams:
    fritzing.org/
    Software used in the video:
    1. Visual Studio Code IDE:
    code.visualstudio.com/
    2. C/C++ VSCode extension:
    marketplace.visualstudio.com/...
    3. Clang-Format VSCode extension:
    marketplace.visualstudio.com/...
    4. PlatformIO VSCode extension:
    marketplace.visualstudio.com/...
    Thanks for watching and see you tomorrow!
    00:00 Intro
    01:13 Hardware components presentation
    02:24 Graphical circuit diagram
    06:50 Creating a new project in VSCode/PlatformIO
    08:36 Installing external libraries to handle TFT screen communication
    10:13 Building a program to draw pixels on the screen
    24:03 Testing the program and plan for tomorrow
  • НаукаНаука

Комментарии •