Hi guys I wrote a program that i adaptive with help from a friend to flash 12 = leds tied to the 12 I/O Pins on c54. I have four routines that rotate = the bit pattern through porta and portb forwards and backwards. My = problem is that when the routine is going from porta to portb forward = ra3 flashes so fast and jumps to portb bit0 so fast you can not see this = happening. It also does this when going backwards from portb to porta. = But it portb bit 7 that you dont see flashing. My friend told me the = reason this was happening was because of the part i am using so i ported = it to F84 and the program did the same thing in this port. I need so = type of a delay but everything i try seems to mess my code up. Thanks Mike Johnston -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu