SneaKSz
Member
Hello all,
I'm using the "LCD-Type BATRON BTHQ 21605AV-YETF-LED04-I2C-5V " ,
datasheet : https://www.electro-tech-online.com/custompdfs/2011/02/312175.pdf.
I'm able to get ABCDE on the LCD like I want to , but all the other used characters of the first row and all the chars on the second row are 'arrows'.
I cleaned the screen and then send the "ABCDE" and stopped , but once again all the other chars are " arrows" .
Someone has an idea? This cant be hard.
write data :
Kind regars
I'm using the "LCD-Type BATRON BTHQ 21605AV-YETF-LED04-I2C-5V " ,
datasheet : https://www.electro-tech-online.com/custompdfs/2011/02/312175.pdf.
I'm able to get ABCDE on the LCD like I want to , but all the other used characters of the first row and all the chars on the second row are 'arrows'.
I cleaned the screen and then send the "ABCDE" and stopped , but once again all the other chars are " arrows" .
Someone has an idea? This cant be hard.
write data :
Code:
SendStart();
SSPBUF= 0x76;// i2c slave Address
SSPFlag();
SSPBUF= 0x00;// Control byte for Instruction
SSPFlag();
SSPBUF= 0x01;// clear screen
SendStop();
SSPBUF= 0x80;// DDRAM Address set to 00hex
SendStop();
SendStart();
SSPBUF= 0x76;
SSPFlag();
SSPBUF= 0x40;// Control byte for Data
SSPFlag();
SSPBUF= 0xC1; // A
SSPFlag();
SSPBUF= 0xC2; //B
SSPFlag();
SSPBUF= 0xC3;//C
SSPFlag();
SSPBUF= 0xC4;//D
SSPFlag();
Last edited: