Creating an Animation sprite on TTGO T-Watcher
ttgo t-watcher v1.2 animation sprite
Material you need:
- TTGO T-Watcher board
- KBIDE v1.0.1
- microUSB
STEP 1 : Download and Install TTGO T-Watcher board
STEP 2 : Select T-Watcher (In this article using version 1.2)
STEP 3 : Click Example & Tutorials
STEP 4 : Board Example → 02-DISPLAY → 04-Animation
STEP 5 : You will have another windows
STEP 6 : How is work ?
Setup
1) Set display rotation to left.
2) Fill screen display to WHITE.
3) Create variable
3.1) delayAnime (Time delay)
3.2) posX (Position X)
3.3) posY (Position Y)
Loop
1) add your animation image to variable name img1
2) draw image from img1 to display screen
3) delay image to display
4) Follow number 1 — 3 to display your animation sprite
STEP 7 : Add your animation sprite
In Example folder is have example image already,
you can click File → Open Board Folder → ttgo-t-watcher-v1.2 → examples → 02-DISPLAY → 04-Animation
STEP 8 : Add your image
STEP 9 : Compile & Run to see what happen !
Contract us
FB page: KBIDE
Website: www.kbide.org
FB page: Chiang Mai Maker Club
FB Group: Chiang Mai Maker Club