PDA

View Full Version : LCDOUT bits



tasmod
- 16th January 2012, 12:34
Hi all,

The large character routine worked so well I wanted to try this on an existing project that has a two line display.
However the wiring of the display is non standard as the code was implemented by someone else using asm. I am unable to change the wiring.
I'm re-writing the original code operation to suit myself in PBP.

Is it possible to use defines as :-

DEFINE LCD_Bit4 PORTB.4
DEFINE LCD_Bit5 PORTB.5
DEFINE LCD_Bit6 PORTB.2 ---- ;NOTE THIS ONE
DEFINE LCD_Bit7 PORTB.7

Ioannis
- 16th January 2012, 13:12
No. Look here:

http://www.picbasic.co.uk/forum/showthread.php?t=7038

Ioannis

tasmod
- 16th January 2012, 14:05
Ahhh, many thanks for that.

I did a search but that didn't come up.