- Use GIMP to create a small black-and-white image, and export it as an X BitMap (
.xbm
) file.
- Copy the XBM file to the
./XBM
subfolder of this folder. The filename can only contain alphanumeric characters and underscores, and cannot start with a number.
- Run the Python script
./Scripts/XBM-export.py
to convert the XBM file to a format that the Arduino can read (.axbm
) and to create an XBitmap
from it.
- (Optional) Run Doxygen again (in the
doxygen
folder) to include the new icon in the documentation.
- You can now use the bitmap in your Arduino sketches, using the original file name (without
.xbm
).
cd docs/Doxygen
../../src/Display/Bitmaps/Scripts/XBM-export.py
cd ../../doxygen
doxygen