I'd like a little guidance with how to write this if that is okay. I'm going to type it out how I think it should be structured (to get text scrolling).
We don't know how big the char string will be as it is variable in length depending on the tweet we are displaying.
We are printing at the following location
graphic.Box (1,70,128,79,0);
graphic.setForeColour(GLCD_CYAN); //Text is coloured CYAN
graphic.setCoordinate(1,70);
graphic.print(dataStr); //This is stationary text
so I think it should go like this (roughly). .
graphic.setForeColour(GLCD_CYAN); //set the text colour
graphic.setCoordinate(1,70); //set the coordinates for the string to be drawn
tempString = dataStr[i+1]; //create a temporary string to use as the display. Put an extra character on the end
while (tempString >1 char in length){
graphic.Box (1,70,128,79,0); //first clear the screen section from the last tweet
graphic.print(tempString); //print the tempString
tempString (Magically cut the first char out of the tempString) //perform magic
}
As you can see, help. Please. Thank you.