(you are viewing a thread; or go back to
list of threads)
write into the LCD 16x2 with ldmicro (by Gilmar)
Please someone HAS tutorial How To Write Inside LCD 16x2 with ldmicro
(no subject) (by David R)
what type of LCD ?
Regards
David
thanks (by Gilmar)
Thanks David R
lcd and uart (by ale)
can you "or someone" post an easy example thanks
(no subject) (by Boris)
Check this
LDmicro Forum - 16x2 Serial LCD Line & Positions
lcd serial (by microcircuito)
hello!
i am portuguese and i have one lcd serial with pcf8574, and I can not start the lcd and send a message to him.
I've seen some examples and none works.
can someone help me?
thank you all.
(no subject) (by MGP)
LDmicro does not support I2C only RS232.
problem display lcd i2C second ROW (by Hamid)
Hello,
I have a problem with LCD display i2c, I can't display a message on the second ROW.
How to configurate ldmicro to have the good resualt ?
Can you help me please !
(no subject) (by José)
Sorry MGP, but ldmicro supports I2C in C mode !
LCD displays with PCF8574 now perfectly work with ldmicro 5.3.1.0 under PICs, AVRs and ARMs ; install this version, with LIBRARIES_FOR your target, download the required compiler and read HowTo txt file + Lcd16x2 txt file in this folder to write ladder and generate hex file with flashMCU...
To write at a given position on LCD16x2 via I2C, you must use a special command byte 0xab where a= 2*(line-1)+8 and b= column-1
coded in hexa ; for example 0xAC moves cursor to line 2, col 13
of the display because 2*(2-1)+8= 10= A in hexa and 13-1= 12= C
José
(no subject) (by Duy Phuong)
Hi José
Any different about library for LCD 20x4 for PIC? And how i get library for them? Thanks!
(no subject) (by José)
Hi
This is an on thread that you woke up !
You can use a 20x4 lcd instead of a 16x2 with ldmicro libraries,
it should work as well.
Libraries for PICs are in the subfolder LIBRARIES_FOR\PIC16 of build5310.zip file:
https://github.com/LDmicro/LDmicro/releases
Read LcdI2c txt file in the same directory to use it.
Best regards
JG
(no subject) (by Duy Phuong)
Thanks José
I will work on it to test
(no subject) (by Duy Phuong)
Hi José, Alex,
I tested in 16x2 LCD, it worked ok but when change to 20x4 LCD, i have problem with command cursor,i changed bit as below but cursor only show at line 1 and 2:
10000101=84
10100101=A4
11000101=C4
11100101=E4
What am I wrong?
Can you give me advise for ex as: show some text (lookup table) at line 1-show some text at line 2....line 4? thank you so much!!!
(no subject) (by José)
Hi Duy Phong
I have found the cause of this pb, in LcdI2cLib.h and c :
The code of MoveCursor function is like that:
void LCD_I2C_MoveCursor(int y, int x)
{
int adresse;
if((y < 1) || (y > 2) || (x < 1) || (x > 16)) {
return;
}
// Ligne 1
if(y == 1) {adresse = LCD_LIGNE_1 + (x - 1);}
// Ligne 2
else {adresse = LCD_LIGNE_2 + (x - 1);}
LCD_I2C_SendCommand(LCD_CMD_SET_DDRAM | adresse);
}
It limits lines to 2x16 !!!
It must be modified as in attached files ; replace old files by these in LIBRARIES_FOR\PIC16 folder and in the HTC\lib subfolder of your ld project.
Recompile, test and lest us know if it works ?
It should but I don't have a 20x4 display to achive tests.
Best regards
José
PS:
I'll modify files in next release of ldmicro
(no subject) (by Nicolau)
Isso foi de grande proveito!!! uma maravilha...
Driving two 20 chars LCD HD44780 compatible with 16F877 (by HGR)
This is bassed in the original work of Jonathan "LDmicroLCD16X2.ld".
Timers T2 and T5 are for delaying the data sending to LCDs.
Depending on program lenght may be deleted.
The used memory is 35% program and 16% ram, so there is enough
room for the rest of the program.
Tested on ISIS and hardware.
(no subject) (by Alex)
it is possible to use parallel lcd with ldmicro then
(no subject) (by Amarildo)
tenho um IHM Nextion 7" alguem sabe dizer se tem como usar com arduino e LdMicro?
LDmicroLCD16X2.ld by Jonathan (by Mahesh)
Where can i download a copy of LDmicroLCD16X2.ld made by Jonathan
I plan to try to use it for 16F877A with a generic 16x2 LCD
Mahesh
[email protected]
Post a reply to this comment:
|