Esempio n. 1
0
void glcdInit()
{
	// initialize hardware
	glcdInitHW();
	// bring lcd out of reset
	glcdReset(FALSE);
	// Turn on LCD
	glcdControlWrite(0, GLCD_ON_CTRL | GLCD_ON_DISPLAY);
	glcdControlWrite(1, GLCD_ON_CTRL | GLCD_ON_DISPLAY);
	// clear lcd
	glcdClearScreen();
	// initialize positions
	glcdHome();
}
Esempio n. 2
0
void glcdInit()
{
	uint8_t i;
	// initialize hardware
	glcdInitHW();
	// bring lcd out of reset
	glcdReset(FALSE);
	// Turn on LCD
	for(i=0; i<GLCD_NUM_CONTROLLERS; i++)
	{
		glcdControlWrite(i, GLCD_ON_CTRL | GLCD_ON_DISPLAY);
	}
	// clear lcd
	glcdClearScreen();
	// initialize positions
	glcdHome();
}