
Originally Posted by
wildbilly
Darrel I have installed the Highjack routines and also included the LCD_Anypin.pbp and VirtualPort.bas in the PBP folder. I then added the Include file in my main program just below the define Parameters.
Excellent!
Does your main program have this section (modified for your hardware of course).
The old lcd DEFINES can be commented out.
Code:
;----[ Change these to match your LCD ]---------------------------------------
</i></b></font><b>LCD_DB4 </b><font color="#008000"><b>VAR </b></font><b>PORTA</b>.<font color="#800000"><b>0
</b></font><b>LCD_DB5 </b><font color="#008000"><b>VAR </b></font><b>PORTB</b>.<font color="#800000"><b>3
</b></font><b>LCD_DB6 </b><font color="#008000"><b>VAR </b></font><b>PORTB</b>.<font color="#800000"><b>7
</b></font><b>LCD_DB7 </b><font color="#008000"><b>VAR </b></font><b>PORTC</b>.<font color="#800000"><b>1
</b></font><b>LCD_RS </b><font color="#008000"><b>VAR </b></font><b>PORTD</b>.<font color="#800000"><b>4
</b></font><b>LCD_E </b><font color="#008000"><b>VAR </b></font><b>PORTA</b>.<font color="#800000"><b>1
</b></font><b>LCD_Lines </b><font color="#008000"><b>CON </b></font><font color="#800000"><b>2 </b></font><font color="#0000FF"><b><i>' # of Lines on LCD, 1 or 2 (Note: use 2 for 4 lines)
</i></b></font><b>LCD_DATAUS </b><font color="#008000"><b>CON </b></font><font color="#800000"><b>50 </b></font><font color="#0000FF"><b><i>' Data delay time in us
</i></b></font><b>LCD_COMMANDUS </b><font color="#008000"><b>CON </b></font><font color="#800000"><b>2000 </b></font><font color="#0000FF"><b><i>' Command delay time in us
</i></b></font><font color="#008000"><b>INCLUDE </b></font><font color="#FF0000">"LCD_AnyPin.pbp" </font><font color="#0000FF"><b><i>; *** Include MUST be AFTER LCD Pin assignments ****</i></b></font>
Bookmarks