Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit:

C Code to scroll text on 8x8 matrix for Pi

by mwilliams03 on Wed Jan 16, 2013 10:56 am

I needed an 8x8 matrix to scroll text for a new project I'm working on.
I found it hard to find any C code to do this, so I wrote my own and posted it on my blog hoping others will find it useful.

I used this matrix;

When starting the program, you will need to specify the i2c bus, address of the matrix and the text to scroll.
pi@raspberrypi ~ $sudo ./matrix 1 112 “this is the text to scroll”

Full instructions and code here; ... x-using-c/
Posts: 5
Joined: Fri Oct 26, 2012 8:17 am

Re: C Code to scroll text on 8x8 matrix for Pi

by Twi7ch on Wed Jan 16, 2013 12:32 pm

Awesome! I just picked up the mini 8x8 LED matrix and finished soldering and testing it.

Thanks for sharing your C code. I'll probably rewrite it for Python :)
Posts: 9
Joined: Mon Nov 12, 2012 7:48 pm