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/
Locked
mwilliams03
 
Posts: 5
Joined: Fri Oct 26, 2012 9:17 am

C Code to scroll text on 8x8 matrix for Pi

Post by mwilliams03 »

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/

Twi7ch
 
Posts: 9
Joined: Mon Nov 12, 2012 8:48 pm

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

Post by Twi7ch »

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 :)

Locked
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/

Return to “Adafruit Raspberry Pi® accessories”