Fast 7-segment number display for TFT

Here is the expanded code in all four direction for those interested, with comments and the Long rather than Int Number value (thanks westfw :wink: ). If I find time I may look at combining them into a single function with a direction parameter.

This latest code is still the Adafruit library version with FastHLine and FastVLine.

Sorry all four versions no longer fit in-line in their big readable format. So you will have to see the attached file to get the changes.

BTW Westfw... writing in only the raster direction was not enough of a difference to overcome the overhead of writing more lines in the segment width direction rather than fewer in the segment length direction. But thanks again for the suggestion.

WZ

draw7Number.c (20.6 KB)