antirez / t-watch-s3-micropython

Minimal MicroPython programming example for the Lilygo T-WATCH S3
MIT License
15 stars 4 forks source link

How to Help? #1

Open brucekissinger opened 7 months ago

brucekissinger commented 7 months ago

I was excited to see your project. I have a T-Watch S3 and it is very frustrating to try to develop software for. Is there any way that I can help you? I am an experienced Python programmer and have also used LoRa with Meshtastic for a few years.

antirez commented 7 months ago

Hi @brucekissinger! Thanks for writing :) I believe it is possible to create some great MicroPython ecosystem for the Lilygo devices without huge efforts, because they hopefully will tend to use similar components for the next devices as well.

Currently I'm focusing on writing a simple driver for the SX1262 chip in the t-watch S3. There are other drivers, but the driver I wrote in FreakWAN for the SX1276 is 350 heavy commented lines and I can only find SX1262 drivers written in MicroPython that are 10x the size and without comments! So I'm going to rewrite it in order to be API compatible with the other driver I implemented, so that I can use it in FreakWAN without changing the internals.

But while implementing it, I'll not have bandwidth for all the other chips that there are in the t-watch S3, and that would be an awesome starting point, if you would like to write a small self contained driver for one of the i2c devices like the touch screen driver, the haptic motor, the sounds generator or whatever you like more. Ideally it should be few code that accomplishes enough to make it usable, with a small example functionality inside "main" or as another file if it is not possible to integrate it.

Consider that very soon we will be able to write fonts on the screen as I already have the code in FreakWAN, and even a font I hand-crafted, so more convoluted examples should be possible. Thanks! Have a nice day.