How to make bitmaps for Arduino with TheDotFactory

www.pavius.net/downloads/tools/53-the-dot-factory
This is good windows program for using all fonts and bitmaps.
For using bitmaps/fonts select the tool icon, check “Flip X”, “90°” at Flip/Rotate. “Width” at Fixed, “MsbFirst” if it wasn’t and at Variable insert at Bitmaps static unsigned char PROGMEM {0}Bitmaps[] and at Fonts static unsigned chart PROGMEM FONT_CHAR_INFO {0}Descriptors[], save this as Sure for using it the same configuration often

You can import any char of your installed fonts or the whole font.

Advertisements
Posted in Uncategorized | Leave a comment

How to make bitmaps for Arduino with GIMP

Either import or draw your bitmap.
For using the bitmaps with the matrix, you have to rotate it clockwise 90°.
Save it as X-Bitmap, don’t check the X10 option.
Then open the xbm file with an editor, insert after “static unsigned char” PROGMEM, e.g. “static unsigned char PROGMEM Jahr2_bits[] =” instead of “static unsigned char Jahr2_bits[] =”.

Copy the whole text after “static..” into your Arduino file, you can now call it with ht1632_putbigbitmap( or derivatives of them, you need only to know the number of lines in width and height. Add an alphabetic char to the name of the bitmap if you have a bitmap with only a number as name

Posted in Uncategorized | Leave a comment

Bitmaps and Fonts for the Arduino

All the Bitmaps and Fonts are X-bitmap files,
http://en.wikipedia.org/wiki/X_BitMap

The xbm files are coded in 8 line values, a pair of two values for 16 lines. 3 values for 24 lines and so on. The correct code of a xbm-file would like this:

0x07, 0x7E, // ### ######
0x0E, 0x66, // ### ## ##

The odd value is for the lower 8 lines, the even for the upper 8 lines. This example is from “The Dot Factory”, Gimp and I think all other xbm-files have first the upper value and then going down.

For the normal use of the Sure Matrix you need bitmaps and fonts in vertical MSB format if you flip the matrix you need horizontal LSB format

Posted in Uncategorized | 1 Comment