Text and font
codeking
Posts: 39
I bought a graphic display from parallax.·· I was wonder how to read external files.· (Such as JPEGs or GIFs or TXTs)· Also, how do I access the font that the tv.spin file uses·that comes with the propeller tool?
Comments
There have been various postings over time regarding the use of SD card readers. There is an object in the Propeller Object Exchange on this website that will let you read files from an SD card that were placed there by a PC. These routines won't deal with the content of the file, just supply a series of bytes. This works well for text, but there are no routines to handle graphics formats. Someone did post some routines to this forum a while ago to handle bitmap files (BMP) via a serial channel and they may be useful as well with the SD card routines. You'll have to search for them and look at the description.
There are also several commercial SD card and USB flash drive interface devices that connect to the Propeller as a serial device. Check their websites (www.vinculum.com, www.ghielectronics.com, www.dosonchip.com).