The new Raspberry Pi B Model B+ is here - Pick one up in the store and check our detailed guide!
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 10: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 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 :)
Twi7ch
 
Posts: 9
Joined: Mon Nov 12, 2012 7:48 pm