Commit Graph
64 Commits
Author SHA1 Message Date
Dejvino d4e6b4e6be Add Missile Command game for T-Deck + desktop emulator
Game (examples/MissileCommand):
- Classic Missile Command: 6 cities, 3 batteries x 10 missiles,
  escalating waves, smart bombs, score multiplier, session high score
- Trackball aims, press/tap fires, keyboard A/S/D selects battery,
  screen tap aims+fires
- Rendering: incremental TFT_eSPI drawing (persistent enemy trails that
  vanish on death, no AA-rocket trails, explosion circles that repair
  terrain, ghost-free crosshair)
- Sound (sound_engine.cpp): non-blocking I2S task on core 0; wave-start
  alarm of four falling tones (like the original), sweeps/noise effects,
  U/V/M keyboard volume control with OSD, master volume scaling

Emulator (emulator/):
- SDL2 host that compiles the unmodified sketch against shim headers
  (Arduino, TFT_eSPI->framebuffer, GT911 touch, I2C keyboard, I2S->SDL
  audio); arrow keys emulate the trackball, --autoplay/--frames/--dump
  flags for headless smoke tests
2026-11-10 22:06:41 +01:00
lewisxhe 980269291b Update factory 2026-09-08 11:03:10 +08:00
lewisxhe 274ddaa0d0 fix arduino ide build error 2026-07-21 15:23:30 +08:00
lewisxhe 5939aca72e fix factory gps bug 2026-05-15 10:46:26 +08:00
lewisxhe e041323369 Added i2s tone https://github.com/Xinyuan-LilyGO/T-Deck/issues/99#issuecomment-3329099006 2025-09-25 08:54:23 +08:00
lewisxhe c1982c983c Factory example add keyboard set brightness method 2025-06-20 14:19:56 +08:00
lewisxhe 12f12f8cd6 ESP32C3 Keyboard firmware add revision notes 2025-06-20 14:19:20 +08:00
lewisxhe a107982e04 Factory example recording GPS completion takes time 2025-06-20 10:10:54 +08:00
Kilrah 1eb6fb0ebd Add new commands to allow reading raw key states 2025-06-11 21:58:37 +02:00
lewisxhe babfe1972c Fixed typo https://github.com/Xinyuan-LilyGO/T-Deck/issues/81 2025-04-07 09:59:43 +08:00
Michael HaslamandGitHub 11d463ceda Fix ledc error reported over serial on boot. 2025-03-16 00:10:11 +00:00
lewisxhe a120b94749 Fixed GPS Checksum 2025-02-22 15:40:19 +08:00
lewisxhe 057ad4480a Update example 2025-02-06 14:30:47 +08:00
lewisxhe 1faddb5d24 Fixed examples https://github.com/Xinyuan-LilyGO/T-Deck/issues/72 2025-01-20 11:31:13 +08:00
lewisxhe 94e88996b4 Update T-Deck keyboard example 2024-12-25 09:24:52 +08:00
lewisxhe 9d15775e79 Added keyboard backlight control function 2024-12-25 09:24:29 +08:00
lewisxhe 9ce2f1e215 Fixed SYM function https://github.com/Xinyuan-LilyGO/T-Deck/issues/70 2024-12-24 17:37:35 +08:00
lewisxhe ed76f64db5 Fixed the stuck boot screen caused by lack of LoRa 2024-12-20 11:09:44 +08:00
lewisxhe 5d21e58792 Fix typos and the backlight function key sends the character 'b' https://github.com/Xinyuan-LilyGO/T-Deck/issues/69 2024-12-18 09:11:31 +08:00
lewisxhe 7aa23db023 Added play mp3 examples https://github.com/Xinyuan-LilyGO/T-Deck/issues/63 2024-11-14 09:48:06 +08:00
lewisxhe c80bec1703 Add a simple example https://github.com/Xinyuan-LilyGO/T-Deck/issues/59 2024-10-24 15:18:53 +08:00
lewisxhe fb836ad925 Added SD example 2024-10-23 12:03:43 +08:00
lewisxhe 87a9c3ed41 Remove touch interrupt control. 2024-10-21 14:06:33 +08:00
lewisxhe 648bb8d0cd Added GPS Model info 2024-10-04 16:41:40 +08:00
Lewis HeandGitHub f85192ad49 Merge pull request #48 from hpsaturn/av/wifi_env_variables
Added alternative to set WiFi params via environment variables
2024-09-24 09:26:08 +08:00
Hpsaturn fae86efeec added alternative to set wifi params via env variables 2024-09-23 21:47:40 +02:00
lewisxhe 9ddebdf855 Fix example note 2024-09-23 09:21:13 +08:00
lewisxhe b6f0e57fc9 Update UnitTest example 2024-09-20 11:32:56 +08:00
lewisxhe 3fc6fd074b Update microphone example 2024-09-19 14:42:06 +08:00
lewisxhe 9394aa309b Added LoRaWan examples 2024-09-19 14:33:32 +08:00
lewisxhe 210367a171 Added missing header 2024-09-19 10:39:14 +08:00
lewisxhe 993ee80cab Fix Arduino IDE compilation 2024-09-18 14:05:14 +08:00
lewisxhe 83ecab13fa Update GPS example 2024-09-13 14:27:20 +08:00
lewisxhe 316d96d2b4 Update example 2024-09-13 11:41:01 +08:00
lewisxhe 6fd894ba47 Update examples 2024-09-13 11:40:37 +08:00
lewisxhe 12f68646e8 lvgl_example Touch interrupt method https://github.com/Xinyuan-LilyGO/T-Deck/issues/42 2024-09-04 09:33:21 +08:00
lewisxhe f979f22318 Added lvgl example 2024-09-02 11:39:46 +08:00
lewisxhe 36dbd54f45 Update GPS example 2024-09-02 09:26:56 +08:00
lewis 0eaf5294dd Fixed format error 2024-08-16 20:42:16 +08:00
lewisxhe be6fcd1176 Added WiFi test & GPS Check version 2024-08-16 17:57:52 +08:00
lewisxhe 91d6e7fc33 Update example. 2024-08-15 11:46:53 +08:00
lewisxhe 44c8bf3cfd Added factory gps function 2024-07-26 14:23:06 +08:00
lewisxhe 5429079fba Added GPSShield example 2024-03-29 12:05:36 +08:00
lewisxhe eb007487d2 Add audio loopback test 2024-02-29 14:09:20 +08:00
lewisxhe 6e4ab21f56 Update example 2024-02-29 09:52:06 +08:00
lewishe c9b979cc39 Fix keyboard test 2023-12-20 16:00:00 +08:00
lewishe 23a7b1b693 Update factory firmware 2023-12-14 17:47:22 +08:00
Nick Owens 28ece15372 Keyboard_ESP32C3: fix i2c setup as peripheral
for some reason with my version of platformio, the call to

	Wire.begin((uint8_t)I2C_DEV_ADDR, SDA, SCL);

will resolve to controller setup instead of peripheral setup, and wrong
parameters for it:

	entry 0x403cc710
	[    44][I][esp32-hal-i2c.c:75] i2cInit(): Initialising I2C Master: sda=85 scl=2 freq=10
	[    44][E][esp32-hal-i2c.c:88] i2cInit(): i2c_param_config failed
	Starting keyboard work!

to call the correct overloaded function for peripheral setup, add 0 to
the call for the default frequency. with this, peripheral setup works
and the keyboard can communicate with the t-deck esp32s3 successfully:

	entry 0x403cc710
	[    44][I][esp32-hal-i2c-slave.c:234] i2cSlaveInit(): Initialising I2C Slave: sda=2 scl=10 freq=100000, addr=0x55
	[    44][D][esp32-hal-i2c-slave.c:486] i2c_slave_set_frequency(): Fifo thresholds: rx_fifo_full = 28, tx_fifo_empty = 4
	Starting keyboard work!
2023-08-27 17:00:48 -07:00
lewishe cfa755407c Example adapt to two screens 2023-08-08 12:20:47 +08:00
lewishe f35b2c444a Added VNC@moononournation 2023-08-08 11:42:32 +08:00