How to Install and Setup TTGO T-Display ( Getting Started tutorial)

Sdílet
Vložit
  • čas přidán 11. 09. 2024

Komentáře • 153

  • @patufetselaer3651
    @patufetselaer3651 Před rokem +14

    With W11, I repeat the same error:
    In file included from C:\Program Files (x86)\Arduino\1_mode_\TTGOAlienAttack-main\TTGOAlienAttack-main\TTGOAlienAttack\TTGOAlienAttack.ino:5:0:
    enemy.h:1:1: error: stray '\357' in program
    int frames=4;
    The enemy.h file is in "UTF-8 BOM" encoding, with the notebook open it and save it in "UTF-8" and it works perfectly.
    It is not necessary to delete blank lines.
    Now works fine , thank you !!

    • @rpecas
      @rpecas Před rokem +1

      Thank you. This made it work in my case.

    • @dirkgiglot912
      @dirkgiglot912 Před rokem

      Thank you. This should be on top or OP should change his code.

    • @kanekizlf
      @kanekizlf Před 6 měsíci +2

      Perfect, para os BR, pega o arquivo enemy.h abre com o bloco de notas ai vai em salvar como, na parte abaixo do nome, mude o formato para UTF-8, por padrao vai esta UFT-8 BOM

    • @rc0d3
      @rc0d3 Před 2 měsíci +2

      If problem with ledcSetup in setup, change
      "ledcSetup(pwmLedChannelTFT, pwmFreq, pwmResolution);
      ledcAttachPin(TFT_BL, pwmLedChannelTFT);"
      to
      "ledcAttachChannel(TFT_BL, pwmFreq, pwmResolution, pwmLedChannelTFT);"

  • @stevenrogersfineart4224
    @stevenrogersfineart4224 Před 2 lety +5

    Thank you sir !! I've been banging my head against a wall with all the garbage from piecing info together. This gave me the dangling carrot of hope I needed to keep tinkering with it :)

  • @VincentVeak
    @VincentVeak Před 2 lety +10

    Dude you are a LEGEND! Thank you for properly explaining this and getting many people (including myself) into this hobby!

  • @martinomara8879
    @martinomara8879 Před rokem +1

    Thanks for this tutorial. I got it working on my T-Display. I went back and edited your code so that, when a score equal to or greater than 100 is achieved, pin 2 on the board will go HIGH. Maybe I'll have that trigger a dispenser so players can get a reward for a game well played.

  • @RicardoPenders
    @RicardoPenders Před rokem +4

    I finally got the TTGO T-Display board so now I can start learning how to code using your tutorials, you're the best developer online that I know of, keep up the good work.

    • @VolosProjects
      @VolosProjects  Před rokem +1

      tnx Ricardo, feel free to ask if you stuck

    • @RicardoPenders
      @RicardoPenders Před rokem +1

      @@VolosProjects yeah I got stuck with an error when I'm compiling the code: Compilation error: stray '\357' in program
      It's in the ani.h file on line 1
      I don't know what to do about it so I could use some help

    • @RicardoPenders
      @RicardoPenders Před rokem +2

      @@VolosProjects Never mind, I got the issue solved already. The ani.h file has the wrong encoding, now it is encoded with UTF-8-BOM and it needs to be UTF-8, with Notepad++ I got it saved as UTF-8 and the issue went away.

  • @ravenaboutireland8688
    @ravenaboutireland8688 Před 7 měsíci +1

    Brilliant tutorial!
    I doubt if I would have got the board working without your guidance.
    Thanks a million!!!

  • @garymcgillivray6217
    @garymcgillivray6217 Před 3 lety +5

    Thanks for this - finally got my TTGO up and running - cheers

  • @posplayr
    @posplayr Před 3 lety +4

    The most complete explanation I have seen. Thanks, I'm up and running!

  • @maximilianth
    @maximilianth Před 3 lety +3

    Thanks for the explanation! It works fine! Please do make more games for the TTGO Board!

  • @RicardoPenders
    @RicardoPenders Před 2 lety +1

    Hey man, I'm going to have to wait a bit longer to get the new board you covered in another video so I was looking at this video list of the older board and I find them very interesting and useful to get me started with this board as well so I'm gonna buy this board also and use your link to make sure you'll get the commission.
    It's the least I can do to support you doing this great work spreading the information.
    Have a great day.

  • @msreid0
    @msreid0 Před 2 lety +1

    Very clear and helpful. Got me up and running with this very neat board

  • @jasonkoo2165
    @jasonkoo2165 Před 4 měsíci

    Great video - these instructions still continue to work even on a Mac running Arduino IDE 2.3.2. Just be sure Tools> Upload Speed is set to 115200 or you'll get a "Unable to verify flash chip connection" error.

  • @jasontemlett
    @jasontemlett Před 3 lety +1

    Thanks for so carefully and clearly explaining the process. It really has helped and is appreciated

  • @FunAnimals101
    @FunAnimals101 Před 6 měsíci

    thankyou so much i at first lost hope with this but your tut was amazing

  • @TheManudulux
    @TheManudulux Před 3 lety +1

    I am so happy I found your channel. Great videos. Great explanations. Thanks so much for sharing!

  • @alhdlakhfdqw
    @alhdlakhfdqw Před rokem +1

    thank you very much for your great tutorail very easy to understand! :)

  • @parranoic
    @parranoic Před 2 lety

    Thank you so much, this is exactly what I needed to get going with this new board

  • @alanm7186
    @alanm7186 Před 3 lety +1

    Works great! Love the games you make. Great learning tool also!

  • @dvdowns
    @dvdowns Před 10 dny

    Thank you, this really helped.

  • @Dasol0246
    @Dasol0246 Před 3 lety +1

    Thank you for making the tutorial on how to change the TFT_eSPI code, works great. I was wondering on the .h files are those converted jpeg files for example the background of the game

  • @mrobarton7192
    @mrobarton7192 Před 2 lety +3

    Why did you not pick the
    "TT GO T1" board?

  • @MuhammadArshad-ed4ef
    @MuhammadArshad-ed4ef Před 4 měsíci

    You are legend happy to buy you coffee

  • @albanprada7183
    @albanprada7183 Před rokem

    Thanks a lot. You made it in 2020 and this module, and info, is new for me! - Greetings from Colombia. I will buy some modules and test your code! - Maybe you will help me in some lines for one personal project.

  • @Parahooners
    @Parahooners Před 3 lety

    This is great, thanks for taking the time to share

  • @richpeacock
    @richpeacock Před 7 měsíci

    Yahoo! it works finally. Thanks

  • @patrickethridge
    @patrickethridge Před rokem

    This helped immensely, thanks!

  • @mraeclo2
    @mraeclo2 Před 3 měsíci

    amazing video! thanks!

  • @jenswiberg6993
    @jenswiberg6993 Před 2 měsíci

    If you get error having to do with divers not included:
    add: #include

    • @VolosProjects
      @VolosProjects  Před 2 měsíci

      probably verision of esp32, try downgrade it to version lower than 3.0

  • @alexobaya4550
    @alexobaya4550 Před rokem

    NICE video man!! So gratefull!!

  • @amitbt69
    @amitbt69 Před 2 lety

    Very well explained! thank you.

  • @DudulleMaster
    @DudulleMaster Před 3 lety +1

    thanks a lot for this tutorial

  • @Haulakulara
    @Haulakulara Před 2 lety +1

    hello, is there any base station 32 pin for this esp32 ttgo t-display module?

  • @laz305
    @laz305 Před 4 měsíci

    6:45 how do i find out which line is my board that I need to comment out?

  • @nageshwarrao8629
    @nageshwarrao8629 Před 3 lety

    this is awesome and has rich colours in it,i would have bought it if there are 100+ games,my bad luck.

  • @edwardsolomonkwekugyimah4340

    Could you kindly make a video on how to change between backgrounds (changing font colours as well)? Love your videos. All works for me

  • @mohamedfarid7499
    @mohamedfarid7499 Před 2 lety +1

    Thanks a lot

  • @salvador.h
    @salvador.h Před 2 lety

    Thanks, you are great and your contents are very cool, have a nice day.
    Gracias, es muy grato escucharte y tus contenidos son geniales, buen día

  • @ashuntu2010
    @ashuntu2010 Před rokem

    Thanks for very nice explanation and making a great video. May I ask if you could let me know how to connect NodeMCU ESP8266 V3 with 3.5 inch TFT touchless display having ILI9488 driver? I want to use TFT_eSPI library for it. I tried many configurations but was unsuccessful. Can you please let me know the wire connections and if any changes required in the TFT_eSPI codes? Thank you very much for your help in advance.

  • @claessjoblom9910
    @claessjoblom9910 Před 3 lety

    Thanks very much it works.

  • @jakecorbin1998
    @jakecorbin1998 Před 3 lety

    Nice work! How do you create the .h files that contain the graphics? I am also making a program and I am confused about how to generate the files.

  • @walterhynson2898
    @walterhynson2898 Před rokem +1

    Thanks and please wish me good luck with my lillygo T4 HMI.

  • @NicholasRadina
    @NicholasRadina Před rokem

    Thank you!!

  • @electronic7979
    @electronic7979 Před 3 lety +1

    👍

  • @laz305
    @laz305 Před 4 měsíci

    Can you tell me what code I need to add to my ino to add an image?

  • @codesyncr
    @codesyncr Před 3 lety

    Awesome love from india 💗

  • @HaikuGuy
    @HaikuGuy Před rokem

    THANKS!

  • @Darth_Mittens
    @Darth_Mittens Před 3 lety

    Great tutorial! Thanks for this. I managed to setup and upload everything, no errors with the weather app, but I am stuck on connecting to wifi. It just says "connecting to *network ID* ......" and endless dots. Is it possible it has issues with "WPA2 personal"?

  • @lorigallion2091
    @lorigallion2091 Před rokem

    Bought my first TTGO T-display recently and followed this tutorial. I was able to get the example print test file to work but when I tried to upload your game file, I got an error and now the board seems to be unresponsive. When I connect it to the computer, the blue light flashes rapidly and I can't seem to do anything. Is there a way to reset it back to factory settings?

  • @davide5553
    @davide5553 Před 2 lety

    great video. One question, why I can't see the USB port but only bluetooth? I'm on mac, maybe I need some drivers? thanks

  • @olek8267
    @olek8267 Před 3 lety

    Thanks for detail instruction. In Ubuntu 20.10, I had error when try compile TFT_eSPI example - "import serial ImportError: No module named serial". Error was solved command in console - "sudo apt install python-is-python3"

  • @johnmvsantos
    @johnmvsantos Před 2 lety

    @Volos Projects
    I keep getting the error: "A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header"
    Any ideas on how to resolve this?

  • @jimsnodgrass8454
    @jimsnodgrass8454 Před rokem

    Wow, truly impressive and useful content. Thank you, I love watching your great videos and can't wait to get properly setup.. but after following the tutorial steps with no problem until approximately time : 9:20 or so.., successfully installing and running the example demos on my TTGO Display board, .. I tried to verify/compile your attack game and sadly am getting errors as it cant seem to find these library files:
    #include
    #include
    #include "back.h"
    #include "player.h"
    #include "enemy.h"
    #include "ani.h"
    #include "gameover.h"
    could it be because my IDE is the 2.0.4 version .. or perhaps it's because the sketch is still located in folder I added onto my Win 11 desktop as indicated in this video? .. and now it can't find the .h files there? I will try again but will use the IDE 1.8.x you are using in the video instead. Thanks Again.. jimS

    • @VolosProjects
      @VolosProjects  Před rokem

      No, it is simple.. you downloaded my code and thease files was also in folder, but your ide made new folder for .ini file, you just need put all files in same folder.. i hope i explained it right, just check downloaded files and put all files in same folder where .ini file is

    • @jimsnodgrass8454
      @jimsnodgrass8454 Před rokem

      @@VolosProjects 😁 Yes, your cool Arcade game is now working ! I simply made a copy of its .h files that unzipped to a folder in my desktop and placed these into the C:\Users\jimxxx\Documents\Arduino\libraries\TFT_eSPI folder where I think my IDE 2.0.4 is looking for such library type files. I'm not sure that was the best way to do it but can't argue with success.. Thank you Again for such a clear and insightful guideline..

  • @paulherman6968
    @paulherman6968 Před 5 měsíci

    If you get this error: enemy.h:1:1: error: stray '\357' in program
    int frames=4; To fix: Load enemy.h file into Notepad ++ and switch encoding to UTF-8.

  • @henkdesain7741
    @henkdesain7741 Před rokem

    can you tell me which buttons to use to get the TTGO into Upload mode.

  • @forevervideo6926
    @forevervideo6926 Před 3 měsíci

    In file included from C:\Users\Michael\OneDrive\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp:24:
    Do you have this error.

  • @DigiRabit
    @DigiRabit Před 7 měsíci

    Very nice and simple intro to this board. However, sadly, I can not get it to work on two boards. I followed your directions carefully and it loads with no errors but the screen(s) are blank. Please help if you can. RP

    • @VolosProjects
      @VolosProjects  Před 7 měsíci

      So you instaled esp32 board,edited two files in library, saved , chosed ttgo oled board in arduino ide and uploaded and screen is still black? Are you sure you have this board?

  • @suhailraq
    @suhailraq Před rokem

    In device manager it show exclamtion mark in usb

  • @Doyle69
    @Doyle69 Před 4 měsíci

    Will this work for ESP32-S3-Geek?

  • @javierortizmir7873
    @javierortizmir7873 Před rokem

    hey man! your channel is very intereseting. I just bought a LILYGO and I cannot connect to it. I have tried to do everything, I followed your example, but in my screen the option for the PORT is not enabled, I cannot click it

    • @VolosProjects
      @VolosProjects  Před rokem

      you probably need to install driver for usb chip, you can find it on product pages. if you have win 10 it shoud recognize driver automaticly

    • @javierortizmir7873
      @javierortizmir7873 Před rokem

      @@VolosProjects I have tried in two different WIN10 PC´s, also in fedora and Pop OS

  • @speedy_x5491
    @speedy_x5491 Před 2 lety

    Hello, I can't get other ports on my computer I need help!

  • @yuricostache
    @yuricostache Před 3 lety

    I love u

  • @suhailraq
    @suhailraq Před rokem

    I tried it so much bt there a prob ,usb didnt recognise esp means nothing show any com port

    • @VolosProjects
      @VolosProjects  Před rokem

      you will need to install driver, go on liliy go site, on product page of t-display and fallow instructions there

  • @watwsplace8614
    @watwsplace8614 Před 9 měsíci

    Hi is it possible to add an SPI device to this device (TTGO). It does not appear the the SPI buss is available. I would like to retrieve data from a SPI slave and display it on the screen.
    Thank you for your time.
    W

    • @VolosProjects
      @VolosProjects  Před 9 měsíci +1

      It is posible, but it is tricky becouse spi but is already used by screen, you will need to use vspi for screen and hspi for device forexample

  • @LesFPinter
    @LesFPinter Před rokem

    Do you ever sleep? So many projects... Quick question: Starting last week, when I upload a sketch, it fries my TTGO LoRa32-OLED V1. I've fried three of them in 3 days. Any suggestions? Thanks in advance!

    • @VolosProjects
      @VolosProjects  Před rokem

      how do you know that is fried?

    • @LesFPinter
      @LesFPinter Před rokem

      @@VolosProjects False alarm! I just need to plug in the USB cable before I boot my computer. I'm very relieved. Thank you for answering me! Your videos are excellent, as is your command of English. Are you Polish? Ukrainian? I've been studying Russian for years, and I can still just barely communicate. (I also speak Spanish, Portuguese and French about 9 out of 10.) You do have a foreign accent, but your code is crystal clear, thank you! BTW, I'm the guy who sold the Magic Wand, which was used as the basis for Word, to a 24-year-old Bill Gates in Houston, Texas in 1980 - for almost nothing. What an idiot I was!

    • @VolosProjects
      @VolosProjects  Před rokem

      @@LesFPinter Thank you for nice comments. I am from Croatia and you are right we have similar accent as Russian or Ukrainian people. I live and work in Croatia and i sleep very little, i wake up in 5 , i dont know why but i cant sleep so i have time for my hobby.....It is nice to meet father of Word, I think Bil Gates and Steve were good in buying stuff :) But you still have your crativity :)

    • @LesFPinter
      @LesFPinter Před rokem

      @@VolosProjects I posted a question about problems I had setting up my Arduino IDE for the ESP32 S3 T-Display, but I don't remember where. Can you point me in the right direction? I get the python error messages...

    • @VolosProjects
      @VolosProjects  Před rokem

      @@LesFPinter did you fallow my instruction video for instaling t-display s3, you can try reinstall or instal python if you dont have it installed on your pc. What Arduino IDE you are using. Are on MAC on on WIN?

  • @tribycell
    @tribycell Před rokem

    how flash original firmware ?

  • @jeremydickenson8059
    @jeremydickenson8059 Před 3 lety

    Can you teach me how you do this I can't figure it out

  • @noelmoralde6242
    @noelmoralde6242 Před 3 lety

    Problem:
    Connecting........_____....._____....._____....._____....._____....._____....._____
    A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
    Solution:
    Before pressing Upload, hold down EN button (the button to the left of the USB) and only
    release once "Connecting..." shows up

  • @Evilslayer73
    @Evilslayer73 Před 3 lety

    my TTgo screen stay black and the blue led flash

  • @buraksonmez1761
    @buraksonmez1761 Před rokem

    I am getting this error while using my ttgo why is that happening could you please help me about it?
    "Sketch uses 18280 bytes (59%) of program storage space. Maximum is 30720 bytes.
    Global variables use 1882 bytes (91%) of dynamic memory, leaving 166 bytes for local variables. Maximum is 2048 byte"

    • @VolosProjects
      @VolosProjects  Před rokem

      did you select correct board in board manager, you need to select TTGO Lora32 OLED

    • @buraksonmez1761
      @buraksonmez1761 Před rokem

      @@VolosProjects yes i did but still same :( I am working with a sensor and I want to see some datas in the serial monitor but its empty there. Is it possible to see the datas on the serial monitor while using this board?

  • @antoniogarcia3713
    @antoniogarcia3713 Před 2 lety

    NO me aparece el puerto/I do not see the port

  • @LevyCarneiro
    @LevyCarneiro Před 2 lety

    Do you have a recommendation for which model to choose?
    CH304K 4MB
    CH9102F 16MB
    CP2104 4MB
    Thanks!

    • @VolosProjects
      @VolosProjects  Před 2 lety

      Any will be fine, i always use 4mb models so all my sketches work on 4mb

    • @LevyCarneiro
      @LevyCarneiro Před 2 lety

      @@VolosProjects Amazing, thanks very much for your reply! And thanks for the channel!

  • @IndianaStones1
    @IndianaStones1 Před rokem

    These Boards are a pain in the ass. I cant even find the driver because i have no clue which version i have.

  • @carlgray4160
    @carlgray4160 Před 3 lety

    Hi When i Compile it i get TFT_BL was not declared in this scope

  • @ytubeleo
    @ytubeleo Před 2 lety

    I get the following errors when I try to upload it:
    In file included from C:\Downloads\TTGOAlienAttack-main\TTGOAlienAttack\TTGOAlienAttack.ino:5:0:
    enemy.h:1:1: error: stray '\357' in program
    int frames=4;
    ^
    enemy.h:1:1: error: stray '\273' in program
    enemy.h:1:1: error: stray '\277' in program
    exit status 1
    stray '\357' in program
    I googled this and apparently this one .h file contains the UTF-8 Byte Oder Marker. I was able to resolve the problem by putting the cursor at the start of the firs line and pressing backspace to delete the illegal characters. The other .h files seem to be fine. I'm using Windows 10. I downloaded them as a zip file from Github as you did in the video.

    • @VolosProjects
      @VolosProjects  Před 2 lety

      Try to delete empty lines in .h file, this is error that came with new versions of IDE

    • @ytubeleo
      @ytubeleo Před 2 lety

      @@VolosProjects Interesting. It's curious that only the enemies.h file is affected. As I said, I got it working by (presumably) deleting the invisible characters at the start. Any idea why only enemies.h was affected?

    • @toddroles3234
      @toddroles3234 Před 2 lety +1

      @@VolosProjects same thing happened to me, and I can confirm that deleting all the blank spaces in the enemy.h file worked and it compiled correctly after that. Thank you to Volos and Ytubeleo

  • @paulosousa00
    @paulosousa00 Před 3 lety

    congratulations on your vlog. I have a problem, I can't get the ttgo card to be detected by my Windows 10. Cás you hep me

    • @paulosousa00
      @paulosousa00 Před 3 lety

      problem solved. damaged usb cable. :-)

  • @mystamo
    @mystamo Před 2 lety

    Not sure why but in 2021 this is not working with these libraries and arduino 1.8 Spent a lot of time trying to get it to compile.

    • @VolosProjects
      @VolosProjects  Před 2 lety

      What eror your are getting?

    • @mystamo
      @mystamo Před 2 lety

      Thanks kindly for the reply. I actually managed to just get it to compile by removing frames=4 line. The wifi weather station tho. I spent a good 2h trying to get that one to compile. Issues with wifi library and type casting issues.

    • @VolosProjects
      @VolosProjects  Před 2 lety

      So stray error

  • @DipolRoy
    @DipolRoy Před 3 lety

    Code doesn't compile, says TFT_BL was not declared!

    • @edwardfletcher7790
      @edwardfletcher7790 Před 3 lety

      So it's a problem with your SW or settings. You probably don't have the right libraries.

  • @prophoto1675
    @prophoto1675 Před rokem

    "TFT_BL' wass not declared in this scope" anyone have a solution

  • @VEYSKAN
    @VEYSKAN Před 3 lety

    Arduino: 1.8.15 (Windows 10), Плата:"TTGO LoRa32-OLED V1, 80MHz, 921600, None"
    In file included from C:\Users\79994\Desktop\TTGOAlienAttack-main\TTGOAlienAttack\TTGOAlienAttack.ino:5:0:
    enemy.h:1:1: error: stray '\357' in program
    int frames=4;
    ^
    enemy.h:1:1: error: stray '\273' in program
    enemy.h:1:1: error: stray '\277' in program
    exit status 1
    stray '\357' in program
    Этот отчёт будет иметь больше информации с
    включенной опцией Файл -> Настройки ->
    "Показать подробный вывод во время компиляции"

    • @DoncodePHP
      @DoncodePHP Před 2 lety

      Удалите пробел в начале файла enemy.h
      Delete space in file enemy.h

  • @kajanutrius
    @kajanutrius Před 3 lety

    no funciona

  • @iwebexp
    @iwebexp Před 2 lety

    In file included from C:\Program Files (x86)\Arduino\1_mode_\TTGOAlienAttack-main\TTGOAlienAttack-main\TTGOAlienAttack\TTGOAlienAttack.ino:5:0:
    enemy.h:1:1: error: stray '\357' in program
    int frames=4;
    ^
    enemy.h:1:1: error: stray '\273' in program
    enemy.h:1:1: error: stray '\277' in program
    exit status 1
    stray '\357' in program

    • @VolosProjects
      @VolosProjects  Před 2 lety +1

      Go to the .h files in folder and delite line frames

    • @iwebexp
      @iwebexp Před 2 lety

      @@VolosProjects I deleted the line. compiled and
      In file included from C:\TTGOAlienAttack\TTGOAlienAttack.ino:5:0:
      enemy.h:1:1: error: stray '\357' in program
      
      ^
      enemy.h:1:1: error: stray '\273' in program
      enemy.h:1:1: error: stray '\277' in program
      exit status 1
      stray '\357' in program

    • @michaelmatteson8711
      @michaelmatteson8711 Před 2 lety

      I had this same problem on a MacBook Air M1..I used sublime text and saved the enemy.h file with encoding Western (Windows 1252) and that fixed it for me

    • @shker97
      @shker97 Před 2 lety

      Просто удалил строку и все отлично 👌🏻

    • @ulrichrissel8244
      @ulrichrissel8244 Před 2 lety +1

      @@VolosProjects I had the same problem. I simply deleted the line: int frames=4. Problem solved 🙂

  • @ArickMonkey
    @ArickMonkey Před rokem +1

    In file included from C:\Program Files (x86)\Arduino\1_mode_\TTGOAlienAttack-main\TTGOAlienAttack-main\TTGOAlienAttack\TTGOAlienAttack.ino:5:0:
    enemy.h:1:1: error: stray '\357' in program
    int frames=4;
    Someone else posted a fix, but hopefully another post will help someone find the fix.
    The Enemy.h file is saved as a UTF-8 BOM file, and needs to just be UTF-8.
    Download Notepad++ and open the file. Go to the top and look for encoding and you should be able to figure it out from there. It compiles fine now!
    @patufetselaer3651 was the person I saw post the fix.

  • @totalkiller4
    @totalkiller4 Před rokem

    Hi im just getting this error no matter what system i try to flash the code with windows 10 pc or windows 11 laptop "Arduino: 1.8.19 (Windows 10), Board: "TTGO LoRa32-OLED V1, 80MHz, 921600, None"
    Sketch uses 819162 bytes (62%) of program storage space. Maximum is 1310720 bytes.
    Global variables use 14088 bytes (4%) of dynamic memory, leaving 280824 bytes for local variables. Maximum is 294912 bytes.
    esptool.py v3.0-dev
    Serial port COM12
    Connecting...
    Traceback (most recent call last):
    File "esptool.py", line 3682, in
    File "esptool.py", line 3675, in _main
    File "esptool.py", line 3330, in main
    File "esptool.py", line 512, in connect
    File "esptool.py", line 492, in _connect_attempt
    File "esptool.py", line 431, in sync
    File "esptool.py", line 369, in command
    File "esptool.py", line 332, in write
    File "site-packages\serial\serialwin32.py", line 323, in write
    serial.serialutil.SerialTimeoutException: Write timeout
    Failed to execute script esptool
    An error occurred while uploading the sketch
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences."

  • @theloniuser
    @theloniuser Před 9 měsíci

    I cannot get these TTGO boards to connect to my mac: Has anyone had this issue? followed the istructions to the letter.
    ---
    Sketch uses 293873 bytes (22%) of program storage space. Maximum is 1310720 bytes.
    Global variables use 21716 bytes (7%) of dynamic memory, leaving 273196 bytes for local variables. Maximum is 294912 bytes.
    esptool.py v4.5.1
    Serial port /dev/cu.usbmodem568B0255451
    Connecting.....
    Chip is ESP32-D0WDQ6-V3 (revision v3.0)
    Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
    Crystal is 40MHz
    MAC: b0:b2:1c:4f:07:68
    Uploading stub...
    A fatal error occurred: Failed to write to target RAM (result was 01070000: Operation timed out)
    Failed uploading: uploading error: exit status 2

  • @romanremontuje4659
    @romanremontuje4659 Před 8 dny

    hi. How can I solve this problem?
    C:\Arduino IDE\sketch\alienarack\alienarack.ino: In function 'void setup()':
    C:\Arduino IDE\sketch\alienarack\alienarack.ino:58:3: error: 'ledcSetup' was not declared in this scope
    58 | ledcSetup(pwmLedChannelTFT, pwmFreq, pwmResolution);
    | ^~~~~~~~~
    C:\Arduino IDE\sketch\alienarack\alienarack.ino:59:3: error: 'ledcAttachPin' was not declared in this scope; did you mean 'ledcAttach'?
    59 | ledcAttachPin(TFT_BL, pwmLedChannelTFT);
    | ^~~~~~~~~~~~~
    | ledcAttach
    exit status 1
    Compilation error: 'ledcSetup' was not declared in this scope

  • @2flying4fun
    @2flying4fun Před 2 měsíci

    Hi,
    Love your vlogs.
    This one gives me a compilation error though.
    **********************************************************
    In file included from F:\Programming\Arduino\TTGO\TTGOAlienAttack-main\TTGOAlienAttack\TTGOAlienAttack.ino:5:
    F:\Programming\Arduino\TTGO\TTGOAlienAttack-main\TTGOAlienAttack\enemy.h:1:1: error: 'int' does not name a type
    1 | int frames=4;
    | ^~~~~~
    F:\Programming\Arduino\TTGO\TTGOAlienAttack-main\TTGOAlienAttack\TTGOAlienAttack.ino: In function 'void setup()':
    F:\Programming\Arduino\TTGO\TTGOAlienAttack-main\TTGOAlienAttack\TTGOAlienAttack.ino:58:3: error: 'ledcSetup' was not declared in this scope
    58 | ledcSetup(pwmLedChannelTFT, pwmFreq, pwmResolution);
    | ^~~~~~~~~
    F:\Programming\Arduino\TTGO\TTGOAlienAttack-main\TTGOAlienAttack\TTGOAlienAttack.ino:59:3: error: 'ledcAttachPin' was not declared in this scope; did you mean 'ledcAttach'?
    59 | ledcAttachPin(TFT_BL, pwmLedChannelTFT);
    | ^~~~~~~~~~~~~
    | ledcAttach
    **************************************************
    Implementing the solution posted by patufetselaer3651 solved those problems. Thanks patufetselaer3651
    It actually already went pearshaped with the TFT_Print_Test example:
    **************************************************
    In file included from c:\Users\Frank\Documents\Arduino\libraries\TFT_eSPI-master\TFT_eSPI.cpp:24:
    c:\Users\Frank\Documents\Arduino\libraries\TFT_eSPI-master\Processors/TFT_eSPI_ESP32.c: In member function 'void TFT_eSPI::begin_SDA_Read()':
    c:\Users\Frank\Documents\Arduino\libraries\TFT_eSPI-master\Processors/TFT_eSPI_ESP32.c:72:3: error: 'gpio_set_direction' was not declared in this scope
    72 | gpio_set_direction((gpio_num_t)TFT_MOSI, GPIO_MODE_INPUT);
    | ^~~~~~~~~~~~~~~~~~
    c:\Users\Frank\Documents\Arduino\libraries\TFT_eSPI-master\Processors/TFT_eSPI_ESP32.c: In member function 'void TFT_eSPI::end_SDA_Read()':
    c:\Users\Frank\Documents\Arduino\libraries\TFT_eSPI-master\Processors/TFT_eSPI_ESP32.c:87:3: error: 'gpio_set_direction' was not declared in this scope
    87 | gpio_set_direction((gpio_num_t)TFT_MOSI, GPIO_MODE_OUTPUT);
    | ^~~~~~~~~~~~~~~~~~
    ****************************************************
    Eventually, after scrubbing the system of any Arduino related files, doing a clean installation of IDE 2.3.2, keeping all defaults, and following your instructions to the letter, didn't get rid of the problem. Replacing the esp32 v 3.0.2 boards package (by espressif) with version 2.0.17 in the boards manager solved that problem (thanks espressif?). This solved most other problems I got from compiling for ESP boards as well. AlienAttack now happily compiles, uploads and runs like a charm.
    P.S. Nobody ever told us computing was ging to be a breeze...

  • @gliamonserosa8726
    @gliamonserosa8726 Před 3 lety

    So Nice 💘💘💘💘💘💘

  • @TT-it9gg
    @TT-it9gg Před 3 lety +1

    Really fun! Thank you~

  • @josergf2760
    @josergf2760 Před 3 lety

    Thanks for your tutorial...