FIRE EFFECT ON M5STICKC WATCH : 5 Steps (with Pictures) - purifoyoncer1951
Instauratio: Kindle EFFECT ON M5STICKC Lookout man
I had done some funny cartoon animated effects on M5StickC watch for my kid. During doing this, I had an melodic theme to fix a special watch which show complete time digits away animated effects.
And I gone my liberal clock to explore on internet some beautiful GIF animated images, resized, splitted them into individual images and so converted to HEX codes for computer programing.
Last, I chosen the "fire burning font" to apply for my M5StickC watch. In reality, IT took age to commute all numbers and letters on the watch over screen into animated effects but its result made me &adenosine monophosphate; my kid excited.
Ahead getting started, please check my video below.
Step 1: THINGS Old IN THIS PROJECT
Hardware components
- M5StickC ESP32 PICO Mini IoT Evolution Plug-in Finger Computer with Colourize LCD With accessories. My M5StickC is equipped with watch-base and look on-smash and IT can be worn on my wrist.
https://www.digitspace.com/m5stickc-esp32-pico-min...
-
USB Type-C scheduling cable.
Software apps, depository library and documentation
- Arduino IDE: https://www.arduino.cc/nut/main/computer software
-
Official M5StickC Subroutine library: https://github.com/m5stack/M5StickC
-
M5StickC Docs: https://docs.m5stack.com/#/en/core/m5stickc
Footfall 2: HOW IT WORKS
My look on is programmed in 4 workings modes by pressing Home Button of M5StickC. In entirely modes, letters and numbers are displayed in fire burning effect font.
- Mode 1: when the watch startup, it shows "Flak TIME" connected the screen.
- Mode 2: The watch shows HOUR : MINUTE : SECOND.
- Modality 3: The watch shows WEEKDAY and Engagement.
- Mode 4: The watch shows MONTH and YEAR.
Step 3: HOW TO CREATE THE ANIMATION FONT
Firstly, we should tried to find a full set of animation fonts which you like. I chose a "fire perfervid" font as at a lower place example because we only need to combine 3 images to create a beautiful effect for for each one letter and bi. We can also save and reticence the M5Stack's computer storage blank space for unusual purposes.
Example: separated pictures for missive "A" from force out fervent baptistry.
In suit the GIFs images indigence to be editted, we can use GIF editor program tool - EZGIF - which is a simple online GIF maker and toolset for basic animated GIF editing. Here you ass create, resize, crop, split, rescind, optimize, and practice or s effects to GIFs. I mainly used the "resize" and "split" functions to create pictures sizing 40x40 that bottom fits 2 rows and four columns on 0.96 inch TFT color screen door (80 x160 resolution) of the M5StickC.
For all number & upper case letter, after converting all GIFs to separated pictures size up 40x40, we can usage the following apps to convert them to HEX codes:
- ImageConverter (UTFT) away Rinky-Dink Electronics: http://web.rinkydinkelectronics.com/t_imageconver...
- LCD Image Converter by Vladimir (riuson): https://www.riuson.com/LCD-image-convertor
I used LCD Double Convertor for this protrude because it lav convert multiple pictures at the same time. In this character, it helped the States saving a lot of time because there'Ra many another images that need to be converted to HEX codes.
For example, the HEX code for basic figure of letter "A" is A below:
/******************************************************************************* * generated by lcd-image-converter rev.129188f from 2022-07-09 00:20:51 +0500 * image * computer file nam: unsaved * make: Fire_A_0 * * preset name: Color R5G6B5 * data jam size: 8 bit(s), uint8_t * RLE compression enabled: no * conversion type: Color, not_used not_used * split to rows: yes * bits per pixel: 16 * * preprocess: * main CAT scan direction: top_to_bottom * line scan direction: forward * reciprocal: no *******************************************************************************/ /* typedef struct { const uint8_t *data; uint16_t width; uint16_t height; uint8_t dataSize; } tImage; */ #include <stdint.h> static const uint8_t Fire_A_0[3200] = { // ████████████████████████████████████████ // ███████████████▓▓██▓▒▓██████████████████ // ████████████▓▓▓▓▓█▓▒▒▒██████████████████ // ████████████▓▓▓▓▓▓▓▒▒▒▓█████████████████ // ████████████▓▓▓▓▓▓▓▓▓▓▓▓████████████████ // ████████████▓▓▓▓▓▓▓▓▓▓▓▓▓████▓██████████ // ███████████▓▓▓▓▓▓▓▓▓▓▓▓▓▓███▓▒██████████ // ██████████▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓██▓▒▓█████████ // ███████▓█▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓██▓▓▓█████████ // ███████▓▓▓▓▓▓▓▓▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓████████ // ███████▓▓▓▓▓▓▓▒▒▒▓█▓█▓▓▓▓▓▓▓▓▓▓▓████████ // ███████▓▓▓▓▓▓▓▒▒▓█▒▒▓█▓▓▓▓▓▓▓▓▓▓████████ // ██████▓▓▓▓▓▓▓▒▒▒██▓▒▒██▓▓▓▓▓▓▓▓▓████████ // █████▓▓▓▓▓▓▓▓▒▒▓█▓▓▒▒▒█▓▓▓▓▓▓▓▓▓████████ // █████▓▓▓▓▓▓▓▒▒▒█▓▓▓▒▒▒▒█▓▓▓▓▒▓▓▓▓███████ // █████▓▓▓▓▓▒▒▒▒██▒▓▓▒▒▒▒█▓▒▒▒▒▒▓▓▓███████ // █████▓▓▓▓▒▒▒▒▒█▓▓▓▒▒▒▒░▒█▓▒▒▒▒▓▓▓███████ // █████▓▓▓▒▒▒▒▒██▓▓▒▒▒▒░░▒▒█▒▒▒▒▒▓▓███████ // ██████▓▓▒▒▒▒▒▓▓▓▓▒▒▒▒░░▒▒▓▓▒▒▒▒▓▓███████ // ████▓▓▓▓▒▒▒▒█▓▓▒▒▒▒░░░░▒▒▒█▒▒▒▒▓▓███████ // ████▓▓▓▒▒▒▒██▒▒▒▒▒░░░░░▒▒▓▓█▒▒▒▒▓▓██████ // ████▓▓▓▒▒▒▒█▒▒▒▒▒░░░░░░▒▒▓▓██▒▒▒▓▓██████ // ████▓▓▒▒▒▒▓▓▒▒▒▒░░░▒░░░░▒▓▓▓█▒▒▒▓▓██████ // ████▓▓▒▒▒██▒▒▒░░░░░█▒░░░▒▓▓▓██▒▒▓▓██████ // ████▓▓▒▒▒█▓▒▒░░░░▒██▓░░░░▒▓▓▒██▓▓▓██████ // ████▓▓▓▒██▒░░░░░░░███▒░░░▒▒▒▒▒█▓▓███████ // ████▓▓▓▓█▒░░░░░░░████▒░░░░▒▒▒▒██▓███████ // █████▓▓█▓░░░░░░░░█░░█░░░░░░▒▒▒▒▓████████ // ████████▒░░░░░░░░░░░░░░░░░░░░▒▒▒████████ // ███████░░∙∙∙∙░░░∙░░░░░░░░░░░░░░░████████ // ███████░∙∙░∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙░░░░░▒███████ // ██████▒∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙░░∙∙░∙░∙░░░░██████ // █████▓░∙∙∙∙∙∙∙░░▒▒▒▒░██░▒∙∙∙∙∙░░∙░▓█████ // █████▒∙∙∙∙∙∙∙░███████████░∙∙∙∙∙∙∙░▓█████ // █████▓░░∙∙∙∙░█████████████░∙∙∙∙∙░▒██████ // ███████▒░░∙∙░█████████████▒∙∙∙░▒████████ // █████████░░░░██████████████░░░▒█████████ // ███████████▒▓██████████████▒▒███████████ // ████████████████████████████████████████ // ████████████████████████████████████████ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xe5, 0x72, 0xd5, 0xd6, 0xff, 0xff, 0xff, 0xff, 0xcd, 0x54, 0xdb, 0x2b, 0xcd, 0x96, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xe5, 0xb3, 0xdd, 0xf4, 0xd5, 0x94, 0xf4, 0xcb, 0xf4, 0xcc, 0xff, 0xff, 0xd5, 0xd6, 0xd3, 0x8c, 0xda, 0x47, 0xd3, 0xed, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xe5, 0x91, 0xed, 0x2f, 0xed, 0x2f, 0xfd, 0x6c, 0xfd, 0x6b, 0xf5, 0x0d, 0xec, 0xee, 0xe3, 0x89, 0xe3, 0x28, 0xe3, 0x89, 0xdc, 0xf1, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfd, 0x0b, 0xfd, 0x6c, 0xfd, 0x6b, 0xfd, 0x6b, 0xfd, 0x6b, 0xfd, 0x2b, 0xfd, 0x0b, 0xf4, 0x49, 0xfc, 0xea, 0xfc, 0xea, 0xf4, 0xab, 0xe5, 0x72, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfd, 0x6b, 0xfd, 0x6b, 0xfd, 0x6b, 0xfd, 0x6b, 0xfd, 0x6b, 0xfd, 0x6b, 0xfd, 0x6b, 0xfd, 0x6b, 0xfd, 0x6b, 0xfd, 0x6b, 0xfd, 0x6b, 0xf4, 0xcb, 0xd5, 0x94, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xd5, 0xd5, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf5, 0x0d, 0xfd, 0x6b, 0xfd, 0x6b, 0xfd, 0x6b, 0xfd, 0x6b, 0xfd, 0x6b, 0xfd, 0x6b, 0xfd, 0x6b, 0xfd, 0x6b, 0xfd, 0x6b, 0xfd, 0x6b, 0xfd, 0x6b, 0xfd, 0x6b, 0xec, 0xed, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xe5, 0x31, 0xe3, 0xca, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xe5, 0x72, 0xfd, 0x6b, 0xfd, 0x6b, 0xfd, 0x6b, 0xfd, 0x2b, 0xfd, 0x6b, 0xfd, 0x6b, 0xfd, 0x6b, 0xfd, 0x6b, 0xfd, 0x6b, 0xfd, 0x6b, 0xfd, 0x6b, 0xfd, 0x6b, 0xfd, 0x6b, 0xf4, 0xcb, 0xdd, 0x93, 0xff, 0xff, 0xff, 0xff, 0xf4, 0x49, 0xe3, 0x89, 0xcd, 0x34, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xd6, 0x38, 0xff, 0xff, 0xec, 0xcf, 0xf5, 0x4c, 0xfd, 0x6b, 0xfd, 0x6b, 0xfd, 0x2b, 0xf4, 0x8a, 0xf4, 0x8a, 0xf4, 0xca, 0xf4, 0xcb, 0xfd, 0x2b, 0xfd, 0x6c, 0xfd, 0x6c, 0xfd, 0x6b, 0xfd, 0x6b, 0xfd, 0x6b, 0xfd, 0x2b, 0xf5, 0x0d, 0xff, 0xff, 0xff, 0xff, 0xf5, 0x0d, 0xf4, 0x8a, 0xe3, 0xcb, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0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xf4, 0x8a, 0xf4, 0xca, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xed, 0x10, 0xfd, 0x6b, 0xfd, 0x2b, 0xfd, 0x2b, 0xfd, 0x0b, 0xf4, 0x8a, 0xf4, 0x6a, 0xe3, 0x48, 0xda, 0x05, 0xeb, 0x68, 0xff, 0xff, 0xdc, 0xf1, 0xec, 0x0a, 0xeb, 0xc9, 0xe3, 0x07, 0xda, 0x66, 0xd9, 0xe6, 0xdb, 0x4b, 0xff, 0xff, 0xf4, 0xab, 0xeb, 0xc9, 0xf4, 0x49, 0xf4, 0x29, 0xeb, 0x89, 0xeb, 0xc9, 0xf4, 0x8a, 0xf5, 0x2c, 0xf5, 0x0d, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xed, 0x2f, 0xfd, 0x6b, 0xfc, 0xeb, 0xf4, 0x8a, 0xf4, 0x29, 0xeb, 0x68, 0xe2, 0xe7, 0xda, 0x66, 0xda, 0x27, 0xff, 0xff, 0xff, 0xff, 0xe3, 0xaa, 0xf4, 0x29, 0xeb, 0xc9, 0xe3, 0x48, 0xda, 0x66, 0xd9, 0x64, 0xda, 0xc8, 0xff, 0xff, 0xd5, 0x94, 0xdb, 0x29, 0xe2, 0xa7, 0xda, 0x66, 0xe2, 0xa7, 0xe3, 0x48, 0xf4, 0x6a, 0xfd, 0x2b, 0xfd, 0x2b, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x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ff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xb2, 0x28, 0x88, 0x41, 0x98, 0x81, 0x98, 0x61, 0xa8, 0xa2, 0xa0, 0xa2, 0xa0, 0xa2, 0xa0, 0xa2, 0xa8, 0xc2, 0xb0, 0xa2, 0xa0, 0xa2, 0xa0, 0xa2, 0xa0, 0xa2, 0xa0, 0xa2, 0xa0, 0xa2, 0xa0, 0xa2, 0xa0, 0xa2, 0xa8, 0xc2, 0xb0, 0xc3, 0xb0, 0xa2, 0xb9, 0x04, 0xd1, 0xa5, 0xd2, 0x48, 0xdb, 0x8b, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xb1, 0xc7, 0x90, 0x82, 0x78, 0x00, 0x80, 0x20, 0x78, 0x00, 0x80, 0x20, 0x98, 0x61, 0x88, 0x20, 0x98, 0x61, 0x80, 0x20, 0x90, 0x61, 0x88, 0x20, 0x98, 0x61, 0x88, 0x41, 0x98, 0x61, 0x90, 0x61, 0x90, 0x61, 0x98, 0x61, 0x88, 0x20, 0xa0, 0xa2, 0xa0, 0xa2, 0xa8, 0xa2, 0xc9, 0x24, 0xb8, 0xe3, 0xb1, 0x85, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x99, 0xa6, 0x78, 0x00, 0x78, 0x00, 0x90, 0x61, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x80, 0x20, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x80, 0x20, 0x88, 0x41, 0xa0, 0xa2, 0xa0, 0xa2, 0xa0, 0xa2, 0xa0, 0xa2, 0xc2, 0xaa, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xab, 0x8e, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x90, 0x61, 0x98, 0x61, 0x80, 0x20, 0x80, 0x20, 0x88, 0x20, 0x78, 0x00, 0x90, 0x61, 0x80, 0x20, 0x98, 0x61, 0xa0, 0xa2, 0xb0, 0xc3, 0xb1, 0xc7, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xc4, 0x30, 0x89, 0x04, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x80, 0x20, 0x91, 0x65, 0x99, 0xc7, 0xa2, 0x48, 0xa2, 0x48, 0xa2, 0x48, 0xa2, 0xeb, 0x80, 0x82, 0xff, 0xff, 0xff, 0xff, 0xa8, 0xc3, 0xb2, 0xeb, 0x78, 0x41, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x88, 0x41, 0x90, 0x61, 0x80, 0x20, 0x91, 0x45, 0xcc, 0x91, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xb3, 0x2c, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x99, 0xa6, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x99, 0xc7, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x80, 0x20, 0x78, 0x00, 0x78, 0x00, 0x80, 0x41, 0xc4, 0x30, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xc4, 0xd2, 0x99, 0xc7, 0x80, 0x41, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x88, 0x41, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x90, 0x82, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x78, 0x00, 0x80, 0x20, 0x91, 0x86, 0xb4, 0x30, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xbc, 0x30, 0x91, 0x86, 0x80, 0x41, 0x78, 0x00, 0x78, 0x00, 0x91, 0x65, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xb3, 0x2c, 0x78, 0x41, 0x78, 0x00, 0x80, 0x20, 0x88, 0xa2, 0xb2, 0x48, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xa9, 0xa6, 0x91, 0x45, 0x90, 0x82, 0xa9, 0xa6, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x9a, 0x08, 0x80, 0x82, 0xa9, 0x44, 0xc4, 0x0f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xb2, 0xeb, 0xc4, 0xd2, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xb4, 0x30, 0xab, 0x2c, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff };
Step 4: Computer programming
The project code is available at my GitHub.
Before starting programming, you need to look up to the official M5Stick subroutine library at: https://github.com/m5stack/M5StickC/
NOTES:
- Fire on fire font includes numbers 0 ~ 9, upper instance letter A ~ Z and time apart dots American Samoa follows.
#include "FireCharacter.c" #include "FireNumber.c" #include "Dot.c"
- To minimize the flicker and keep animation in smooth transition along the screen, I used TFT_eSprite year and information technology is declared equally accompany:
TFT_eSprite Disbuff = TFT_eSprite(&M5.Lcd);
- Month and weekday are shown in letters
// Month Fire Character Array char monthName[12][3] = { {'J', 'A', 'N'}, {'F', 'E', 'B'}, {'M', 'A', 'R'}, {'A', 'P', 'R'}, {'M', 'A', 'Y'}, {'J', 'U', 'N'}, {'J', 'U', 'L'}, {'A', 'U', 'G'}, {'S', 'E', 'P'}, {'O', 'C', 'T'}, {'N', 'O', 'V'}, {'D', 'E', 'C'}, }; // Time unit Fire Character Range char weekdayName[7][3] = { {'M', 'O', 'N'}, {'T', 'U', 'E'}, {'W', 'E', 'D'}, {'T', 'H', 'U'}, {'F', 'R', 'I'}, {'S', 'A', 'T'}, {'S', 'U', 'N'}, };
- This subroutine below is used for showing the top guinea pig letter in fire effect.
void printFireChar(int32_t x0, int32_t y0, int32_t w, int32_t h, char ch, int32_t current_animation) { Disbuff.pushImage(x0, y0, w, h, (uint16_t *)Fire_Character[ch-65][current_animation]); }
- The M5StickC watch works with 4 display modes supported HOME BUTTON as bellow commands. We can play with delay(time) function to select the best value for liveliness issue. In my case, it is 75.
if ( (unsigned longitudinal) (millis() - samplingtime) > 50 ) { buttonState = digitalRead(M5_BUTTON_HOME); if (buttonState != lastButtonState) { if (buttonState == LOW) { buttonPushCounter++; } else { } } lastButtonState = buttonState; tack (buttonPushCounter % 4) { case 0: /* * "Can TIME" along the startup screen */ for (int current_animation = 0; current_animation < 3; current_animation++) { printFireChar(0, 0, 40, 40, 'F', current_animation); printFireChar(40, 0, 40, 40, 'I', current_animation); printFireChar(80, 0, 40, 40, 'R', current_animation); printFireChar(120, 0, 40, 40, 'E', current_animation); printFireChar(0, 40, 40, 40, 'T', current_animation); printFireChar(40, 40, 40, 40, 'I', current_animation); printFireChar(80, 40, 40, 40, 'M', current_animation); printFireChar(120, 40, 40, 40, 'E', current_animation); Disbuff.pushSprite(0, 0, 0); delay(75); // If BUTTON_HOME is pressed if (buttonState == Depressed) { Disbuff.fillSprite(WHITE); Disbuff.pushSprite(0, 0, 0); violate; } } break; case 1: /* * Hour : Minute : Second - Number Animations */ break; showcase 2: /* * Time unit & Engagement Animations */ case 3: /* * Month & Year Animations */ let on; } samplingtime = millis(); }
Whole step 5: SOME PICTURES AND VIDEOS
During computer programming for this watch, I also recorded both draft versions as videos below:
- Variation 1:
- Version 2:
Thank for your watching! Trust you like my Emily Post this time.
Please LIKE and SUBSCRIBE to my YouTube channel.
Live the First to Share
Recommendations
Source: https://www.instructables.com/FIRE-EFFECT-ON-M5STICKC-WATCH/
Posted by: purifoyoncer1951.blogspot.com
0 Response to "FIRE EFFECT ON M5STICKC WATCH : 5 Steps (with Pictures) - purifoyoncer1951"
Post a Comment