Biblioteca para conectar un LCD, modo 4 bits, via datos serie (3-wire - Data, Clock, Enable)

Su uso es igual a la biblio de Jallib :
const byte LCD_ROWS = 2 -- LCD with 2 lines
const byte LCD_CHARS = 16 -- and 16 characters per line
var byte hello[LCD_CHARS] = "Hello World"
include lcd_hd44780_3wires
lcd_init()
lcd_clear_screen()
for LCD_CHARS using i loop
lcd_write_char(hello[i]) -- write using procedure)
end loop
Si desean agregar un custom char, como el signo de grados:
const byte signogrado[] =
{
0b_00001100,
0b_00010010,
0b_00010010,
0b_00001100,
0b_00000000,
0b_00000000,
0b_00000000,
0b_00000000
}
lcd_define(0, signogrado)
lcd = "-"
lcd = "1"
lcd = 0 --envía el signo grado
Ese código mostrará -1
0 en el display.
Link:
http://www.ucontrol.com.ar/forosmf/jal-y-jalv2/librerias-para-jal/?action=dlattach;attach=9611