Happy Arduino Day! Use the code ARDUINODAY on checkout and get 10% off your order on all items in stock!

C Code to scroll text on 8x8 matrix for Pi
Moderators: adafruit_support_bill, adafruit

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: http://www.raspberrypi.org/phpBB3/

C Code to scroll text on 8x8 matrix for Pi

by mwilliams03 on Wed Jan 16, 2013 11: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;
http://marks-space.com/2013/01/16/raspb ... x-using-c/
Posts: 5
Joined: Fri Oct 26, 2012 9:17 am

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

by Twi7ch on Wed Jan 16, 2013 1: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 8:48 pm