The 8 hex values corresponds to 8 rows of the matrix. Now I want to scroll the 'D' from right to left.
From my knowledge, I know that I have to prepare 24 columns(i.e. 24 bits) data to load while switching the rows.
This I can make in a loop like:

for(i = 0; i<3; i++)

DisplayBuffer =.....

}

now, once the DisplayBuffer[] is created, I can load them on the corresponding rows.
But I am stuck in how to create and update these DisplayBuffer[] while scrolling the text?