PDA

View Full Version : Led scrolling display: How to mirror characters?



mahia2005
- 10th May 2007, 10:29
hello everybody

I use a PIC16F876 in this project
I work on an scrolling display consisting of 8 modules of 8x8 leds.

I can make the message scroll from right to left and from left to right. But for this I use two library different because to make the message scroll from left to right I need to mirror characters.


I would like to use a single library to save space in the memory of the PIC16F876.
I thus try to create a routine which mirror characters from a single library to be able to make the message scroll from right to left and from left to right.


If somebody can help me I would be grateful to him for it

keithdoxey
- 10th May 2007, 22:12
Read the library backwards and your characters should be mirrored !

fazan83
- 11th May 2007, 00:33
[QUOTE=mahia2005;38046]hello everybody

Mahia,
Can you please help to explain how you create the scrolling effect?
Can you share some code here?

Understand that only 1 collums will on during such a very short interval and this will happen to next collum meanwhile the row will keep on and off during this to display the character. Since this happen fast human eyes see it as a one full character.

But how did you make it moving?
Did you make the row on when the collum is on and then finish all the character first and to make it moving during the 2nd round you make it start at 2nd collum and 3rd round you make it start at 3rd collum and so on.

Is this correct?

Can you please help to explain more on this and show some code.

Thanks in advance

skimask
- 11th May 2007, 03:25
http://www.picbasic.co.uk/forum/showthread.php?t=6033

Plenty of code, plenty of explanations, examples, and step-by-step instructions right here to get you going...