Martin SchŠfer wrote: > Hi Thomas, > > here is a new idea: > > Are you sure, that your TRISA bits are at stage '1' > If not, you probably have a crash at Port A. Init_PORTA BSF STATUS, RP0 ; Select Bank 1 Registers. MOVLW B'00011011' ; Form I/O pins Definitions. MOVWF TRISA ; Set RA<5> LED Driver. ; RA<4:3> unused inputs. (Grounded!) ; RA<2> LED Driver. ; RA<1:0> as Sensor Analog inputs. Thanks for the hint but they are. I'm still trying to figure this out. I tried LONG times to let the analog value settle, no dice. I beginning to believe I have a bad batch... > > > Greetings > Martin > > "Thomas C. Sefranek" schrieb: > > > Thanks guys! > > > > The lookup table for the forward sensor ends at the lookup table for the > > reflected. > > So if it ran off it would find the next table. > > > > All the pins of the PIC are used! > > (Except for clock out.) > > Analog inputs, LEDs (Port A), digital outputs (Ports B & C) > > > > I will let you know when or if I find the answer. > > (It probably is the nut behind the wheel!) > > > > > Kelly Kohls, N5TLE > > > Dallas, TX > > > Email: kkohls@juno.com OR n5tle@qsl.net > > > Website: http://www.qsl.net/n5tle/ > > -- Thomas C. Sefranek WA1RHP ARRL Instructor, Technical Specialist, VE Contact. http://www.harvardrepeater.org http://hamradio.cmcorp.com/inventory/Inventory.html