ESP32-HUB75-MatrixPanel-DMA/examples/BitmapIcons/README.md

14 lines
466 B
Markdown
Raw Normal View History

2021-02-28 12:05:45 +01:00
# Xbm Bitmap example
## Requirements
2021-02-28 12:14:47 +01:00
* To generate the required Xbm data to be copied into the Sketch. Have python and [paint.net](https://www.getpaint.net/) installed.
2021-02-28 12:05:45 +01:00
* Bitmap should match the resolution of your display configuration.
## Instructions
* 1. SAVE BITMAP AS 1BIT COLOUR in paint.net
2021-02-28 12:11:34 +01:00
* 2. Run: bmp2hex.py -i -x <BITMAP> (e.g. "bmp2hex.py -i -x WiFi1bit.bmp")
2021-02-28 12:05:45 +01:00
* 3. Copy paste output into sketch.
![bmp2hex usage screenshot](screenshot.jpg)
2021-02-28 12:11:34 +01:00