Good day, Everybody,

I am building a VU meter which uses a 16F877A and HD44780. The link below provides both schematic and code in PicBasic (assembler and HEX are also available via a download). The schematic is straight forward and does not deviate from other examples of 16F877A and HD44780 combos. I ran the PicBasic code provided by the author and compiled my own HEX. Original HEX is also available from the author via a download.
http://www.zaxione.com/in...varias-visualizaciones

Unfortunately, the LCD is not initializing properly and I have usual 16 block on the top line problem. I wonder if it is a timing problem or perhaps something is missing in the code. Both 16F877A and HD44780 which I am using are working properly in different projects with different HEXs.

Please let me know what I might be missing here.

Thank you.