Gast
#319082
Hallo, ich steure über einen P16f877 mikrocontroller einen DEM20486 Typ LCD display (4x20). Ich kann aber von den 4 Zeilen nur 2 benutzen, und ich verstehe nicht weshalb. Es würde mich freuen wenn jemand mir einen Antwort geben könnte. Vielen dank! KONTROL bcf PORTC, LCD_RS bcf PORTC, LCD_RW movwf PORTD bsf PORTC, LCD_E call var2ms bcf PORTC, LCD_E return KIIR bsf PORTC, LCD_RS bcf PORTC, LCD_RW movwf PORTD bsf PORTC, LCD_E call var2ms bcf PORTC, LCD_E return ; LCD-Display inicializálása LCD_init movlw D'255' movwf ido call idoz movlw b'00111000' ;038h call kontrol call var2ms movlw b'00111000' ;038h call kontrol call var2ms movlw b'00000110' ;06h call kontrol call var2ms movlw b'00001101' ;0dh call kontrol call var2ms movlw b'00001111' call kontrol call var2ms movlw 01h call kontrol call var2ms return