Peter Anderson Wrote: >Its been some time since I have used the Hi-Tech compiler, but I think you >need to configure PORTB as outputs. > >Prior to entering the (;;) > > TRISB = 0x00; // make portb all outputs Correct -- sorry for the oversight. ______________________________________ Andrew E. Kalman, Ph.D. aek@netcom.com