Hi,

The compiler will take care for the right LCD timing, no
need to insert pauses. The compiler can do that for you only if
you specify the used oscillator. If you don't specify the oscillator
frequency, PicBasic Pro assumes that you are using a 4MHz oscillator.
If you are using a 20 MHz oscillator, DEFINE OSC 20 is mandatory.
If you don't do that, LCDOUT will not work with the right timing.
LCDOUT is not the only PicBasic command that needs correct timing.
(See PicBasic Pro manual).

DEFINE OSC xy tells the compiler the oscillator frequency and
the compiler will output an HEX file with all the delays calculated
for that oscillator frequency.

Make sure your PIC is also using the same oscillator frequency.
(Your harware is also using the same oscillator frequency).

To test that, go back to my first post in this thread, and try
to compile the flashing LED program and flash the PIC with it.
(Make sure you use DEFINE OSC xy in the code).

Examples:

DEFINE OSC 4 'Oscillator speed 4 MHz
DEFINE OSC 20 'Oscillator speed 20 MHz

See PicBasic Pro manual for all the possible values of DEFINE OSC.

There is a list of DEFINEs in the PicBasic Pro manual and some are for
the LCD configuration. Some of these DEFINEs can help in case you are
using an exotic LCD controller. (NOT the case for Hantronix).

* * *

The addresses you see in the Hantronix spec sheet are the
display RAM Map addresses. The Hantronix spec sheet is correct, no
errors in it.


Best regards,

Luciano