3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

LED Cube 8x8x8

Step 62Software: Effect 6, stringfly

Software: Effect 6, stringfly
«
  • IMG_6363.JPG
  • IMG_6359.JPG
  • new_font.png
  • new_getchar.png
  • new_stringfly1.png
8x8 is about the smallest size required to render a meaningful text font, so we just had to do just that!

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 StepDownload PDFView All StepsNext Step »
2 comments
Jul 17, 2011. 12:31 PMBuskleif says:
I think there is an error in the code supplied, it says:

"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.

Jan 8, 2011. 1:20 PMhobbyman says:
Very nice cool effect. Can be improved by giving the letters a depth.
thanks for the nice instructable.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
651
Followers
7
Author:chr
I like microcontrollers and LEDs :D