Hello, i have played around with the pic16f887 for years and now i got a new toy. It is an old 8051 study board with a phillips p89c664 chip.
It has a HD44780 LCD that i am trying to get to work. I have worked with LCDs in the past and never had problems, but this damn board writes instructions and data through buses what is pretty new to me. I initialized it successfully(i think) because i got the cursor blinking.
When i am trying to write a character onto the display things go wrong tho, and i am not quite sure why because i think i am doing "stuff right".
void lcd_test(void)
{
delay();
*instruction=0b10;
*data = 0b01001000;
*led=*read_instruction;
}
This function should write onto the display.
the instruction pins are on address 8001h and data is 8000h.
If required i can post a schematic of it.
Any tips or tricks are very welcome since i have been at it for hours now...
It has a HD44780 LCD that i am trying to get to work. I have worked with LCDs in the past and never had problems, but this damn board writes instructions and data through buses what is pretty new to me. I initialized it successfully(i think) because i got the cursor blinking.
When i am trying to write a character onto the display things go wrong tho, and i am not quite sure why because i think i am doing "stuff right".
void lcd_test(void)
{
delay();
*instruction=0b10;
*data = 0b01001000;
*led=*read_instruction;
}
This function should write onto the display.
the instruction pins are on address 8001h and data is 8000h.
If required i can post a schematic of it.
Any tips or tricks are very welcome since i have been at it for hours now...