It will work the same way for contrast. You must keep your transistor for the backlight. For contrast, use HPWM and a in-serie resistor from your PIC to your LCD VO line. If this input don't need negative voltage, i have to work AS IS. Maybe you'll need to revert the values (0-255 to 255-0) but that's not a big deal.