Quote Originally Posted by vtt-info View Post
Hello wellyboot,

I have built up the example. Sure Electronics 0832 Dot Matrix Display with the sure.txt code. It works well.
How can the smile be taken to scroll on the Display? Please give me a scrolling example for the Sure Electronics 0832 Dot Matrix Display.

Many thanks in advance
Hello,
You can scroll the Smiley (left or right) by doing the following, in the main loop of the code:

while(1)
{
for(j=0;j<32;j++) // for scrolling 32 times
{
for(cnt=0; cnt<8; cnt++) // for Smiley
{
dataB = dataA[cnt];
datsend(address, dataB);
address = address+2;
}

// control the speed of scrolling
delay_ms(400);

// scroll the message left or right
address = address-2; // '-' for left shift, '+' for right shift, #2 means shift by 1 column

// clear the matrix by writing 00's
for(i=0;i<32;i++)
{
datsend(i,0x00);
}
}
}