Memorial day is 05/25/2015 – Orders will ship out on May 26th. There will not be any deliveries or shipping on Monday. Any order placed after 11am ET on Friday May 22nd will not start to ship out until Tuesday May 26th.

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

Hi
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;
https://www.adafruit.com/products/959

When starting the program, you will need to specify the i2c bus, address of the matrix and the text to scroll.
Eg:
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/
mwilliams03
 
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 :)
Twi7ch
 
Posts: 9
Joined: Mon Nov 12, 2012 8:48 pm