aboutsummaryrefslogtreecommitdiff
path: root/examples/BitmapIcons/README.md
blob: 06ae9fb22a48bfb089f05b1a4d674f7d63c61b22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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)