Example code for the T-Deck #3631
Replies: 5 comments
-
It reminds me of the good old Blackberry mobile phone 😄 |
Beta Was this translation helpful? Give feedback.
-
How long can this device run on battery (which battery) with screen on? and with screen off? |
Beta Was this translation helpful? Give feedback.
-
Awesome, thanks - probably this repo should get added to https://github.com/esp-rs/awesome-esp-rust |
Beta Was this translation helpful? Give feedback.
-
I've just updated the repo with better docs, upgraded https://github.com/joshmarinacci/rust-tdeck-experiments If anyone knows how to work with I2S I'd love some help on audio support. Just getting it to play a sine wave without DMA would be a huge help. |
Beta Was this translation helpful? Give feedback.
-
I was able to get the SD card working by looking at the Arduino example code from the LilyGo repo. It can list files on the card and read in a text file. Note that the SD card must be FAT formatted. ExFat doesn't seem to work. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I put together some example Rust no_std code for the Lilygo T-deck. It shows how to get the display running, use the keyboard and trackball, check the battery, and connect to wifi & download a file.
It uses the latest 1.0.0 beta, though I think the behavior of I2C may have changed slightly between beta0 and beta1.
I hope this helps any of you working with the T-deck and related boards.
https://github.com/joshmarinacci/rust-tdeck-experiments
Beta Was this translation helpful? Give feedback.
All reactions