Hello A question please this is for a pic 16c84: BSF STATUS,RPO ;select bank 1 MOVLW 31 ;value used to initialize data direction MOVWF TRISA ;set ra <0:4> to input mode CLRF PORTB,1 ;Initialize portb by clearing output data latche s BSF STATUS,RPO ;select bank 1 MOVLW 55 ;value used to initialize data direction MOVWF TRISB ;set rb <0:7> to output mode BCF STATUS,RPO ;select bank 0 CLRF PORTB,1 ;return output pins low When I use this to initialize the port's. The output pins go high briefly if I do not clrf portb, the port does'nt respond.I hope this is enough data to elicit a response. also is there a minimum clock speed for writing to an lcd module. Tony M.