Table of Contents

TTGO TWatch 2020 V3

Setup VSCode

Status- und Werkzeugleiste von PlatformIO (ganz unten)

Abläufe zum Beitragen einer App

Links:

Weitere nennenswerte Projekte und Resourcen

Weitere TWatch kaufen, z.B. direkt beim Hersteller LilyGo auf AliExpress.

Minimales T-Watch Projekt

Am einfachsten importieren Sie folgendes git-Repository: https://github.com/techlabksbg/minimal_twatch.git

Dieses enthält auch weitere Branches mit Beispielen.

Manuelles Setup

platformio.ini

platformio.ini

[env]
platform = espressif32
board = ttgo-t-watch
framework = arduino
monitor_speed = 115200
 
 
[env:ttgo-t-watch-linux]
upload_port = /dev/ttyUSB0
 
[env:ttgo-t-watch-windows]
upload_port = COM4
 
[env:ttgo-t-watch-macos]
; On the Mac, set the environment variable PLATFORMIO_UPLOAD_PORT 
; to your device port, for example as follows:
;
;          launchctl setenv PLATFORMIO_UPLOAD_PORT /dev/tty.usbserial-0233D4FC

main.cpp

main.cpp

#include <Arduino.h>
 
void setup() {
  Serial.begin(115000);
}
 
/**
 * Open the serial monitor to see the output
 */
void loop() {
  Serial.println("Hello world!");
  delay(1000);
}

Neue App