13 lines
466 B
Markdown
13 lines
466 B
Markdown
# Xbm Bitmap example
|
|
## Requirements
|
|
* To generate the required Xbm data to be copied into the Sketch. Have python and [paint.net](https://www.getpaint.net/) installed.
|
|
* Bitmap should match the resolution of your display configuration.
|
|
|
|
## Instructions
|
|
* 1. SAVE BITMAP AS 1BIT COLOUR in paint.net
|
|
* 2. Run: bmp2hex.py -i -x <BITMAP> (e.g. "bmp2hex.py -i -x WiFi1bit.bmp")
|
|
* 3. Copy paste output into sketch.
|
|
|
|
![bmp2hex usage screenshot](screenshot.jpg)
|
|
|
|
|