Hi,
I'm using a 16f877, hitech C and (i think) a 44780 compatible LCD. I just want to get some basic text writing on the LCD going, but I can't even seem to do that. I am using the example code that came with the hitech compiler but with my own delay function, because that one was giving me undefined symbol errors. Anyways, all I've been able to write is just garbage that doesn't make sense and having the LCD flash a bit. I'm not even close to having something to write properly I don't think. I am using PORTD, for the data ports and to initialize that all I do is in my main(), write TRISD = 0; right? This is very annoying as I have absolutely no way of debugging, it's just trial and error all the way. If anyone can help me that would be a real bonus.
Thanks,
Arnold
I'm using a 16f877, hitech C and (i think) a 44780 compatible LCD. I just want to get some basic text writing on the LCD going, but I can't even seem to do that. I am using the example code that came with the hitech compiler but with my own delay function, because that one was giving me undefined symbol errors. Anyways, all I've been able to write is just garbage that doesn't make sense and having the LCD flash a bit. I'm not even close to having something to write properly I don't think. I am using PORTD, for the data ports and to initialize that all I do is in my main(), write TRISD = 0; right? This is very annoying as I have absolutely no way of debugging, it's just trial and error all the way. If anyone can help me that would be a real bonus.
Thanks,
Arnold