![]() | ![]() | ![]() |
| | |||||||
| General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion? |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| I WRITE THIS PROGRAM BUT NOT WORK PROPERLY MOV A,80H ACALL COMMAND MOV A,'H' ACALL DISPLAY MOV A,'I' ACALL DISPLAY MOV A,0C0H SOCOND LINE INSTRUCTION ACALL COMMAND MOV A,'H' SECOND LINE INSTRUCTION NOT DISPALY PLEASE HELP ME:confused: | |
| |
| | (permalink) |
| That's because you wrote 'SOCOND LINE INSTRUCTION' :-)
__________________ Everybody can but not everybody will. | |
| |
| | (permalink) |
| I'm not familiar with programming PICs or microcontrollers, so I'm not sure, but is SOCOND LINE INSTRUCTION supposed to be SECOND LINE INSTRUCTION? I may be a noob in programming but that misspelling could be making it not work.
__________________ This is the way the world ends, This is the way the world ends, Not with a BANG But with a BELCH BURRRRRRRRRRPPPPPPP | |
| |
| | (permalink) |
| Sorry Sir actually this is my original program org 0 mov a,#38h acall comm mov a,#0eh acall comm mov a,#01h acall comm mov a,#06h acall comm mov a,#81h acall comm mov a,# 'W' acall DIS mov a,# 'E' acall DIS mov a,# 'L' acall DIS mov a,# 'C' acall DIS mov a,# 'O' acall DIS mov a,# 'M' acall DIS mov a,# 'E' acall DIS mov a,#0c1h acall comm mov a,# 'M' acall DIS mov a,# 'A' acall DIS mov a,# 'L' acall DIS mov a,# 'A' acall DIS mov a,# 'I' acall DIS here: SJMP HERE COMM: ACALL READY MOV P0,A CLR P1.2 CLR P1.1 SETB P1.0 CLR P1.0 RET DIS: ACALL READY MOV P0,A SETB P1.2 CLR P1.1 SETB P1.0 CLR P1.0 RET READY: mov r3,#50 her1: mov r4,#255 her: djnz r4,her djnz r3,her1 RET END but second line dose not display.I confirm to lcd display also good,because i have another one HEX program that is displaed.But i can not ASM File of this progrm. | |
| |
| | (permalink) |
| So I take it the first line is showing up? And it's just the bottom row that is missing? Usually, the second row begins at 80h rather than C0h. My question is: is this a HD44780-type display? | |
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| Substituting a 16x2 LCD display for 16x1 LCD display? | Dawny | Electronic Projects Design/Ideas/Reviews | 19 | 11th October 2008 09:58 AM |
| Problem with LCD code? | spondootre | Micro Controllers | 15 | 29th April 2008 10:15 AM |
| <--noob :) Need help with a Voltmeter/VU Bargraph Lcd display idea | Derick2k | Electronic Projects Design/Ideas/Reviews | 2 | 5th February 2008 11:39 PM |
| calculator | chinmay7 | Micro Controllers | 1 | 14th October 2007 01:45 PM |
| microchip application A590 /display is ok now | prosound90 | Micro Controllers | 20 | 18th November 2006 10:44 PM |