Picaxe driver for tft graphics displays /3


Senior Member
View attachment 17504
This shows the 5 x 8 font, available in six sizes, with each font pixel being 1x1, 2x2, 4x4, 8x8, 16x16, or 32x32 display pixels. Intermediate sizes could perhaps be added later. The larger sizes aren't that useful on this screen resolution but might be in future on higher-res screens. The font is based on a typical led font, processed by The Font Factory to make a column-major file, and is loaded into the scratchpad by a slot0 program for use by the main driver in slot1. As the font is data in a program it can be easily edited if you don't like some of the characters. Other fonts are possible but they must fit into the 1kB scratchpad, which also contains the 20-byte serial input buffer. The current font contains all the 127 printable characters, but many may not be necessary.