Step 62Software: Effect 6, stringfly
We loaded a 8x5 bitmap font that we had previously used with a graphical LCD display into EEPROM memory, and created some functions that took an ASCII char as an argument and returned a bitmap of the character.
The function stringfly2 takes any ASCII string and displays it as characters flying through the cube.
It starts by placing the character at the back of the cube, then uses the shift() function to shift the cube contents towards you, making the text fly.
| « Previous Step | Download PDFView All Steps | Next Step » |


































































































![Hard Wired LED Cube: [No Programming]](http://img.instructables.com/files/deriv/FTD/SF1T/GO8DC8KW/FTDSF1TGO8DC8KW.SQUARE.jpg)















"void font_getchar (char chr, unsigned char dst[5])
{
uint8_t i;"
When I change it to:
"void font_getchar (char chr, unsigned char dst[5])
{
int i;"
all of the effects that feature text starts working.
thanks for the nice instructable.