Linda1 -6 Newbie Poster

I am trying to build an lcd file. The project is, using a dragon 12 lcd, we need to put a string in 0,0 (top) lcd screen position and another string in 0,1 (bottom screen position. The strings has to rotate around the screen. I did part of the code correctly, but I could not get t to move around the screen without deleting the string

#include "ports_d256.h" //for all ports header file
#include "lcd.c"  //lcd  header file
main()
{   init_disp();  //initialize lcd display
        int i,j;

    unsigned char str1[32][7] = {'F','r','a','n','c','e','s'};
    unsigned char str2[32][8] = {'W','r','e','n','z','o','l','a'};
    for (i=0; i<32; i++)
    for (j=0; j<32; j++)
    {   go(0,0);
        send_str(str1[i]);
        if(i<7); go((i-1),0); send_char(' ');
    }
    for(i=0;i<32;i++)
    for(j=0;j<32;j++)
    {   go(1,0);
        send_str(str2[i]);
        if(i<8); go((i-1),0); send_char(' ');
    }
}
void __premain()
{
__asm__ __volatile__("clr 0x3f"); //reset cop timer
}
Salem commented: >10 posts, no code tags, no point explaining, you're not paying any attention anyway. -6