- Details
- Written by Harry Fairhead
Although decimal hardware is rare, there are lots of reason to want to work in decimal in software. For example, binary often doesn't give results that are the same as a human would get doing manual arithmetic. For example, if an expression results in 0.1 in decimal this isn't exactly representable in fixed point binary. However, for integer arithmetic binary gives the same result as decimal arithmetic. A better reason for needing decimal is that this is what many sensors deliver to your interface.
- Details
- Written by Harry Fairhead
How to display text on a framebuffer? Easy once you know about PSF1 fonts. In this article the details of how to read and use a PSF1 font file is explained and a complete C program to display text on the framebuffer is given.