LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #9   Report Post  
Old January 30th 06, 09:10 PM posted to rec.radio.amateur.homebrew
xpyttl
 
Posts: n/a
Default OM3CPH frequency counter doesn't work?

"JJ" wrote in message
...

Which line or area in LCD4CNTR.ASM can I find this extra 0x40 to remove?


If you look at the code:

movlw LINE1 ; continue at right half of display
iorlw 080h ; Function set
call PutCMD ; Position cursor leftmost on first line

under the label NoDot, this code moves the cursor to the second line. It
looks as if all you will see on the second line is the string " MHz"
(leading space). Anyway, comment out these three and the " " should get
written after the last digit instead of on the second line.

Looking more closely at this code, Peter does use the busy flag -- I had
looked at his initialization code where he only uses timing, but when he
goes to write, he checks the busy.

Up at the top of his code, the lines:

E equ 2 ; LCD Enable control line RA2
R_W equ 0 ; LCD Read/Write control line RA0
RS equ 1 ; LCD Register-Select control line RA1

set the pins for LCD enable, R/W and Register Select. If you look at Mag's
schematic, he places RS on RA0, RW on RA1, and E also on RA2. Peter's
comment above those lines would lead you to suspect that they were on PORTB,
but he actually uses them on PORTA. If you swap the connections to LCD pins
4 and 5 Peter's code might work.

...



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help I need a frequency Counter Jim Hackett Shortwave 0 October 16th 05 03:51 PM
FCC: Broadband Power Line Systems Paul Policy 0 January 10th 05 05:41 PM
North-Central Florida Mil Logs 9/10/2003 & 9/11/2003 GeorgeF Scanner 1 September 13th 03 04:10 AM
FS: Galaxy Melaka and Frequency Counter N4ATS CB 0 August 19th 03 02:08 AM
FS: Galaxy Melaka and Frequency Counter N4ATS CB 0 August 16th 03 12:02 AM


All times are GMT +1. The time now is 03:37 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 RadioBanter.
The comments are property of their posters.
 

About Us

"It's about Radio"

 

Copyright © 2017