Change your hardware design. With PBP the datalines D0-D4 must be connected EITHER from Port bits 0-3, or 4-7, NO OTHER sequence. You cannot start half-way through a Port like you are trying to accomplish (Port bits 2-5). If you absolutely MUST do this, then you have to write your own LCD routines.
Bookmarks