Navigation

    LILYGO

    • Register
    • Login
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    T watch S3

    Common problems
    t watch s3 st7789v micropython
    3
    3
    483
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      Natodss last edited by

      hello, I have a T watch S3, but I can't make the display work in Micropython, I've already tested some libraries without success. does anyone have a working example for it?. I currently installed micropython Firmware 1.20.
      PS: I'm a beginner

      teastain2 1 Reply Last reply Reply Quote 0
      • G
        greenone64 last edited by

        I`m looking this too! Can any one help!!

        1 Reply Last reply Reply Quote 0
        • teastain2
          teastain2 @Natodss last edited by teastain2

          The LilyGO site for your product is here:
          https://www.lilygo.cc/en-ca/products/t-watch-s3.

          And they say to use micropython from here:
          https://micropython.org/download/esp32/

          I found the schematic here:
          https://github.com/Xinyuan-LilyGO/TTGO_TWatch_Library/tree/t-watch-s3/schematic

          There are never any MicroPython programming tips or example by LilyGO .
          All the examples are C++, intended for the Arduino IDE !

          Python may be fun and easy on established platforms like Adafruit boards, but...
          There may be no drivers (called "libraries" in C language) for your LCD screen and LORA and you will have to program them yourself using low-level code.
          C language is the most common language on Earth(!) Arduino boards were developed to use C (C++)15 years ago and there is a multitude of examples and libraries available, easily updated.

          Simple Arduino IDE program:

          //words preceded by "//"" are comments and are not executed
          bool ticktock; //declare ticktock as a boolean flag
          
          void setup() {          //runs once on start up
          Serial.begin (115200); //open the serial port for USB cable
          }
          
          void loop() {         //runs in circles!
          ticktock = !ticktock; //every pass through reverse the flag
            if (ticktock) {     //test current value of the ticktock flag
              Serial.println("tick");  
            } else {             //prints one or the other to the USB port
              Serial.println("tock");
            }
          delay (1000);           //wait for a second and run again!
          }
          

          This program will compile and run on literally thousands of microcontrollers!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB | Contributors