The LEDCube now has ticker text as well. If you ever been otuside a newspaper office or seen one in a cartoon, this is one of the most common things to have beside the sign saying that it is a news office. These usually show news headlines scrolling across the front of the building, and often contain the stock market as well. A modern version is the news highlight box that scrolls across the bottom of the TV on the 24/7 news channels.
The way this was implemented was by storing the entire font face of Minimum Alpha found here within the program space, and then referencing which letter and column is required to be drawn at index 0 every frame change. A frame in my cube is 1 set of of lights that are to stay on for a specific amount of time. For example, the test mode tests each light for 0.5 seconds, and is 64 frames long. It is not connected to the layer duration in any way.
Once the first strip is filled in, every LED column after that is given its value by copying the previous into it. This results in using the LED indices themselves as the buffers for data, reducing program complexity and size, which is good for a microcontroller.
The text displayed can be changed over UDP by just sending the string to the cube as long as it is 32 characters or less.
Comments
Log in to add a comment.