https://github.com/marshall100w/t-watch-v2-set-time
A simple sketch to set time with the Touch Screen to the T-Watch. Including Battery info and setting the Brightness.
https://github.com/marshall100w/t-watch-v2-set-time
arduino-ide lilygo-ttgo-t-watch-2020 t-watch t-watch-2020
Last synced: 3 months ago
JSON representation
A simple sketch to set time with the Touch Screen to the T-Watch. Including Battery info and setting the Brightness.
- Host: GitHub
- URL: https://github.com/marshall100w/t-watch-v2-set-time
- Owner: Marshall100W
- Created: 2022-09-18T11:11:10.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-18T17:00:25.000Z (about 3 years ago)
- Last Synced: 2025-02-03T06:32:46.173Z (8 months ago)
- Topics: arduino-ide, lilygo-ttgo-t-watch-2020, t-watch, t-watch-2020
- Language: C++
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# T-WATCH-V2-Set-Time
A simple sketch to set time with the Touch Screen to the T-Watch. Including Battery info and setting the Brightness.- Set hour: Touch the lower-right area of the screen.
- Set Brightness: Touch the lower-left area of the screen.
Brightness begins in 20 and increments by 50 until 170, then goes to 0 (Brightnes Off) and again to 20. But you can edit these values.
When it´s 0, skips the principal loop´s code.
When brightness at 0 (screen Off), touch the screen for 1 second until screen lights on again.
Although brightness is at 0, code is running. If you want to switch off the watch, press the lateral button for 6 seconds.NOTICE:
- This sketch requires TTGO TWatch Library.
- Remember select at the beginning, the correct version of your TWATCH (line 2).
- I´m an amateur, and I´m sure the code can be improved a lot. These are my first steps with the T-WATCH, but it runs.