Exemple #1
0
 void LCD_d_write(BYTE v)
 {
     DelayMs(1);
     LCDWritePortA(0x80);
     LCDWritePortB(v);
     Nop();
     Nop();
     Nop();
     Nop();
     LCDWritePortA(0xC0);
     Nop();
     Nop();
     Nop();
     Nop();
     Nop();
     Nop();
     LCDWritePortA(0);
     
 } 
Exemple #2
0
 void LCD_i_write(BYTE v)
 {
     LCDWritePortA(0);
     DelayMs(1);
     LCDWritePortB(v);
     Nop();
     Nop();
     Nop();
     Nop();
     LCDWritePortA(0x40);
     Nop();
     Nop();
     Nop();
     Nop();
     Nop();
     Nop();
     LCDWritePortA(0x00);
     return;
 }
Exemple #3
0
void LCD_d_write(uint8_t v)
{
    DELAY_ms(1);
    LCDWritePortA(0x80);
    LCDWritePortB(v);
    Nop();
    Nop();
    Nop();
    Nop();
    LCDWritePortA(0xC0);
    Nop();
    Nop();
    Nop();
    Nop();
    Nop();
    Nop();
    LCDWritePortA(0);

} 
Exemple #4
0
void LCD_i_write(uint8_t v)
{
    LCDWritePortA(0);
    DELAY_ms(1);
    LCDWritePortB(v);
    Nop();
    Nop();
    Nop();
    Nop();
    LCDWritePortA(0x40);
    Nop();
    Nop();
    Nop();
    Nop();
    Nop();
    Nop();
    LCDWritePortA(0x00);
    return;
}
Exemple #5
0
 void LCDInitWrite(BYTE v)
 {
     LCDWritePortA(0);
     LCDWritePortB(v);
     Nop();
     Nop();
     Nop();
     
     LCDWritePortA(0x40);
     Nop();
     Nop();
     Nop();
     Nop();
     Nop();
     Nop();
     Nop();
     Nop();
     Nop();
     LCDWritePortA(0);
 }
Exemple #6
0
void LCDInitWrite(uint8_t v)
{
    LCDWritePortA(0);
    LCDWritePortB(v);
    Nop();
    Nop();
    Nop();

    LCDWritePortA(0x40);
    Nop();
    Nop();
    Nop();
    Nop();
    Nop();
    Nop();
    Nop();
    Nop();
    Nop();
    LCDWritePortA(0);
}