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
|
2021-03-28 14:31:34 +02:00
|
|
|
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.
|
2021-02-28 12:05:45 +01:00
|
|
|
|
|
|
|
![bmp2hex usage screenshot](screenshot.jpg)
|
|
|
|
|
2021-02-28 12:11:34 +01:00
|
|
|
|