[an error occurred while processing this directive]
|
//---------------------------------------------------
void WriteCommandToLCD (unsigned char Command, unsigned char Chip)
{
En = 1;
CS = Chip; //1- левый, 0- правый
PORTA = Command;
RW = 0;
A0 = 0;
mDelay(1);
En = 0;
mDelay(20);
En = 1;
}
//---------------------------------------------------