Hi All
First post for me..
Can any one help me out please i'm using the glcd library examples with a 128 x 64 GLCD display but when i echo text to the lcd the start of the lcd display (0,0) is the middle of the screen not the start of the screen
Any ideas why this would be please
The example code is :
#include <glcd.h>
#include "fonts/Arial14.h" // proportional font
//#include "include/glcd_Deprecated.h"
/*
* Check for small displays as this code was written
* before small displays were supported.
*/
unsigned long startMillis;
unsigned int loops = 0;
unsigned int iter = 0;
void setup(){
GLCD.Init(NON_INVERTED); // initialise the library, non inverted writes pixels onto a clear screen
GLCD.ClearScreen();
GLCD.SelectFont(Arial14); // switch to fixed width system font
}
void loop(){ // run over and over again
//iter = 0;
//startMillis = millis();
// display number of iterations in one second
//GLCD.ClearScreen(); // clear the screen
GLCD.CursorTo(-2,0); // positon cursor
GLCD.Puts("Line 1"); // print a text string
GLCD.CursorTo(-4,1); // positon cursor
GLCD.Puts("Line 2"); // print a number
GLCD.CursorTo(0,2); // positon cursor
GLCD.Puts("Line 3"); // print a number
GLCD.CursorTo(0,3); // positon cursor
GLCD.Puts("Line 4"); // print a number