13 lines
460 B
Markdown
13 lines
460 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
|
|
1. Run: bmp2hex.py -i -x <BITMAP> (e.g. "bmp2hex.py -i -x WiFi1bit.bmp")
|
|
1. Copy paste output into sketch.
|
|
|
|
![bmp2hex usage screenshot](screenshot.jpg)
|
|
|
|
|