If you look through the code you will see the section.
movlw 0x82 ;set display address
call inst
This is setting the address on the display for the characters to be
sent to.
If you issue this call again with 0x0A2 instead of the 82 then it will
be in the same position on the next line of the display. So basically
you need to add that section just before displaying the MHz or
whatever.
80 is the start of the first line
A0 is the start of the second line.
Regards
Martin Hill G0JAC
{Quote hidden}> hello
>
>
> i found a description off a frequency counter based on
> pic16f84
>
> program was written by p coussens
> the included emailadres seems to be incorrect so i
> need help
>
> the program works fine (from 10Hz to 11,5MHz) with
> 1x16 or 2x16,2x20 2x40 line lcd's
>
> i have a source for 2x8 lcd display's
> can anybody tell me what i need to change in the
> program so that the MHz kHz Hz is written on the
> second line of the LCD ?
>
> asm file included thanks a lot in advance
>
> Best 73's Jean-Marie ON4CBS.
>
>
> ---------------------------------------------------------------------
> This mail was sent through:
http://www.belgacom.net
>