{"id":32514227,"url":"https://github.com/vyndragon/wpos2","last_synced_at":"2026-05-06T04:33:03.468Z","repository":{"id":174508436,"uuid":"651058151","full_name":"VynDragon/WPOS2","owner":"VynDragon","description":"Version 2 of WPOS for T-Watch, very threading, much preemptive","archived":false,"fork":false,"pushed_at":"2023-07-29T16:13:15.000Z","size":23048,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-27T23:41:39.389Z","etag":null,"topics":["esp32","lilygo","micropython","twatch"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VynDragon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-06-08T11:57:37.000Z","updated_at":"2024-11-16T18:14:58.000Z","dependencies_parsed_at":"2023-06-28T21:45:21.940Z","dependency_job_id":null,"html_url":"https://github.com/VynDragon/WPOS2","commit_stats":null,"previous_names":["vyndragon/wpos2"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/VynDragon/WPOS2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VynDragon%2FWPOS2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VynDragon%2FWPOS2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VynDragon%2FWPOS2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VynDragon%2FWPOS2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VynDragon","download_url":"https://codeload.github.com/VynDragon/WPOS2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VynDragon%2FWPOS2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32678622,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T02:33:58.958Z","status":"ssl_error","status_checked_at":"2026-05-06T02:33:39.611Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["esp32","lilygo","micropython","twatch"],"created_at":"2025-10-27T23:40:57.395Z","updated_at":"2026-05-06T04:33:03.442Z","avatar_url":"https://github.com/VynDragon.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A firmware for Lilygo T-Watch 2020 and S3 written in micropython\n## Requirements:\n- Micropython (with dummy bit SPI setting added in ports/esp32/machine_hw_spi.c if possible to maximize SPI speed)\n- st7789_mpy library\n- Frozen modules (ports/esp32/modules, or dont freeze them, im not your mom):\n  - pcf8653 by lewis he\n  - writer by peterhinch for fonts\n  - axp202 by lewis he (with the constants file renamed to axp202_constants and the main file modified accordingly)\n  - bma423 by franz schaefer\n  - ft6x36 by lbuque\n  - MicroPython Human Interface Device library\n  - png 'Pure Python PNG Reader/Writer'\n  - itertools.py (required by png)\n  - DRV2605 driver from https://github.com/VynDragon/Adafruit_MicroPython_DRV2605\n  - axp2101 and i2cinterface files from lewis he at: https://github.com/lewisxhe/XPowersLib/tree/master/Micropython/src\n- Compiling with T-Watch board folder for MPY from this repository\n### YOU CAN ALSO USE THE MODULES.TAR.GZ FILE IN THIS REPOSITORY\n\n\n## Installing:\n- Go to micropython folder from this repository and follow instructions\n- Copy ALL the .py, .fw, and .gz files from this repository to the watch, keeping the folders (CopyToWatch.sh might do it all for you)\n- devices.json is optional, look into Hardware.py for why (but might come handy to you)\n\n## Modifying for other platforms\nFor other esp32 platforms, all the code that is platform-specific should be in Hardware.py (make yourself a new Hardware.py), with the exception of the blit command in render thread in Kernel.py (FOR NOW)\nFor a different MCU, it should be mostly the same with more exceptions (stuffs like timers may not match, amount of ram, random platform-specific functions i forgot in the code...)\n\n\n## Notes\nDont expect fast display on anything but T-WATCH S3.\n\nI've also capped the FPS to 20 by default, there is a way to uncap it from applications (but be aware that blitting the full screen takes at minimum about 40ms on T-WATCH 2020 V1)\n\nT-Watch 2020 V1 uses about 1.6ma in light sleep with current code\n\n\nCurrently Only T-Watch V1, T-Watch V2, and T-Watch S3 have been tested, I do not own any V3.\n\n## Demo of the render system\n\n[badapple.webm](https://github.com/VynDragon/WPOS2/assets/3176238/f5cddced-452e-42a6-afce-37359ef99bf2)\n\nThis uses 2 threads in the kernel and one to feed data and time within a program\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvyndragon%2Fwpos2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvyndragon%2Fwpos2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvyndragon%2Fwpos2/lists"}