Hi,
I am also facing the problem as Dileep had.I have used assembly code to program PIC16F877 which am attaching. When the power is on,lcd is showing black boxes in the 1st line.
1.Lcd 4-6 pins are connected to pin 2-4 of portc(Pc2-RS,Pc3-R/W,Pc4-EN)
2. Lcd 7-14 pins are connected to pin 0-7 of portd(data lines)
3. Lcd 1-3 pins are connected to potentiometer.
Regards,
Moumita
Hi,
I am also facing the problem as Dileep had.I have used assembly code to program PIC16F877 which am attaching. When the power is on,lcd is showing black boxes in the 1st line.
1.Lcd 4-6 pins are connected to pin 2-4 of portc(Pc2-RS,Pc3-R/W,Pc4-EN)
2. Lcd 7-14 pins are connected to pin 0-7 of portd(data lines)
3. Lcd 1-3 pins are connected to potentiometer.
Regards,
Moumita
Also when you Post code, paste it into the Reply box, select ALL the code and the click the '#' sign in the above Menu
This will retain the text formatting.
Also when you Post code, paste it into the Reply box, select ALL the code and the click the '#' sign in the above Menu
This will retain the text formatting.
This can happen with the code that some Basic compilers create, slow and big.
When writing with asm its possible to create fast, compact code.
There are some Basic compilers that will accept/compile assembler instructions contained within the Basic statements, many Basic compiler also create an assembler listing which can be studied and run in MPLAB
Oshon Software Homepage have a 28day or 30 startup trial simulators for the 16F and 18F PICs