On Thu, 24 Jan 2002 10:32:05 -0500, Jennifer Loiacono wrote: >The value is transmitted (also via USART - possibly a clue?) to a serial >LCD. The code is listed below. All references to AARGBx, BARGBx, and >FXDxxxxxx registers/routines are part of the standard math libraries >provided by Microchip. I have used them extensively, and they never = SEEM to >cause any other problems. > > >;generic display routine > >SERDISP BTFSS TXSTA,TRMT ;if transmit shift register full > GOTO SERDISP ;loop until ready > BSF TXSTA,TXEN ;enable transmission > MOVFF CHARIN,TXREG ;move new character into buffer > RETURN > Sorry, but I've lost track of which processor this code is running on. If it's the 16F627 that I've seen mentioned previously, note that TXSTA and TXREG are in two different register banks, banks 1 and 0 respectively.=20 Please ignore this post if they're in the same bank on the processor you're using. Regards, Bob -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.