mirror of
https://github.com/nopnop2002/esp-idf-ssd1306.git
synced 2024-09-19 17:56:25 -04:00
20 lines
793 B
Markdown
20 lines
793 B
Markdown
|
# BalloonDemo for SSD1306
|
||
|
|
||
|
![BalloonDemo](https://github.com/user-attachments/assets/0e9a7e6e-704e-4edd-9157-e7194756fb1d)
|
||
|
|
||
|
This demo shows how to overlay background and foreground images.
|
||
|
|
||
|
Use this image as the background image and move from top to bottom.
|
||
|
![cloud1](https://github.com/user-attachments/assets/dc1ca1fd-2de1-4a01-a4e7-e4409348de99)
|
||
|
|
||
|
Use this image as the foreground image and move it left and right.
|
||
|
![balloon48x48](https://github.com/user-attachments/assets/cd01a2b7-373b-4369-8cc6-f1ccac1bb9b4)
|
||
|
|
||
|
# How to make your original BIT MAP data
|
||
|
- Prepare your image file.
|
||
|
- Convert image file to BMP data using [this](https://www.mischianti.org/2021/07/14/ssd1306-oled-display-draw-images-splash-and-animations-2/) page.
|
||
|
- Paste the BMP data into your code.
|
||
|
|
||
|
|
||
|
|