examples
├─Keyboard_ESP32C3 # ESP32C3 keyboard I2C slave
├─Keyboard_T_Deck_Master # T-Deck read from keyboard
├─LoRaWAN_Starter # LoRaWAN example
├─Microphone # Noise detection
├─Touchpad # Read touch coordinates
├─GPSShield # GPS Shield example
├─lvgl_example # lvgl example
└─UnitTest # Factory hardware unit testing
PlatformIO
plugin in the VisualStudioCode
extension and install it.VisualStudioCode
VisualStudioCode
, select File
in the upper left corner of VisualStudioCode
-> Open Folder
-> select the T-Deck
directoryplatformio.ini
file, and in the platformio
column, cancel the sample line that needs to be used, please make sure that only one line is validOptional:
You can upload the assets contents for the speaker demo, using the "Upload Filesystem Image" on PlatformIO menu.
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
URL in the Additional boards manager URLs
input box. Please pay attention to the version. The test phase is using 2.0.14. It is not certain that versions above 2.0.14 can run. When the operation is abnormal, please downgrade to a version below 2.0.14. , As of 2024/08/02, TFT_eSPI does not work on versions higher than 2.0.14, see TFT_eSPI/issue3329T-Deck/lib
directory to <C:\Users\UserName\Documents\Arduino\libraries>
. If there is no libraries
directory, please create a new one. Please note that you are not copying the lib
directory, but copying the folders in the lib directoryOpen ArduinoIDE ,Tools , Look at the picture to choose |
T-Deck(ESP32S3) | T-Keyboard(ESP32C3) |
---|---|---|
If a microphone is used, the GPIOO button cannot be used
If the sketch cannot be uploaded, then you need to press down the middle of the trackball, and then insert the USB, this means the chip is in the download mode, and then click to upload the sketch.
T-Keyboard the programming and burning interface of ESP32C3 is located at the 6Pin header on the side of the RST button, and the order starts from the top of the RST button, which are 3V3, GND, RST, BOOT, RX, TX, You need to connect USB TO TTL externally to burn the keyboard firmware. For TTL without automatic download circuit, before powering on, short-circuit the BOOT Pin and GND, and then power on. At this time, T-Keyboard will enter the download mode. After the burning is completed, you need to disconnect GND and BOOT before running the program.
T-Deck can't upload any sketch,Please enter the upload mode manually.
See utilities.h