Hi Steve, Hi Alec,

Alec, I've tried all sorts of delays, or even different program parts, to write line 2, all without success, but thanks anyway.

Steve, I usually allow 1 sec. startup, but trying 2 secs made no difference. The setup is a control circuit for medical laser x-y-z control containing analog and digital circuits. This model is supplied via laboratory power supply, is smoothed and filtered (100nF everywhere) and the line shows ca. 20 mV ripple in operation. The oscillator is decoupled from the VCC line because that causes lots of nasty noise usually. If you wish, I’ll send you the circuit diagram.

The code is the usual:


DEFINE LCD_etc…. ‘Setup LCD

Pause 1000 ‘Settle pause

LCDOUT, $FE, 1, “ Blah blah” ‘Write #1

GOSUB somewhere ‘Fetch, calculate variable

LCDOUT $FE, $C0, “ Blah “, DEC Variable ‘Display variable

I haven't got another unit of this size and type, to take another type for test will involve (sigh) a large amount of work as this is built-in and direct connected. If I don't get it to work, though, I'll buy a new one eventually. I don't like getting beat, though.

One point, I’m using a 16F877 and have the LCD defined to the D-Port as the only port free. I’m wondering if some register needs to be set/reset. I’ve been caught like that before. Is anything known? I’ve not found anything in the PIC Data book, but something with the parallel port control possible?

Greetings,

Rob