Hi there I'm trying to setup a display on my Pi.
The display that i've got is a RB-LCD 20x4-V2 from Joy-IT.
It runs when i use their little test program.
This puts lcd.message('xx RB-LCDV2 Test xx\n 1234567890\n abcdefgh \n 0987654321') 20 chars in 4 rows on the display.
Code: Select all
from Adafruit_CharLCD import Adafruit_CharLCD import Adafruit_GPIO.PCF8574 as PCF GPIO = PCF.PCF8574(address=0x27) GPIO.setup(5,0) GPIO.output(5,0) # Define PCF pins connected to the LCD. lcd_rs = 4 lcd_en = 7 d4,d5,d6,d7 = 0,1,2,3 cols,lines = 20,4 # Instantiate LCD Display lcd = Adafruit_CharLCD(lcd_rs, lcd_en, d4, d5, d6, d7,cols, lines, gpio=GPIO) lcd.clear() lcd.message('xx RB-LCDV2 Test xx\n 1234567890\n abcdefgh \n 0987654321')
But then when it is a clock or so you have to write the hole dislay. THat starts to blink then.
I know you can write each character seperatly in the display. The only thing is that with this i can write only the display one time at once.
Are there more commands and where can i find a link or a manual for it...
Figuring out what these do.
I tryed different little programs but they all don't work.