> >checked that first hon, spent 2 days on this fault :o( > >but the new chip fixed the fault, so I am guessing it is the old chip :o) I had a PIO chip (essentially, the same I/O ports as an AVR, but for a 6502 system) that had reversed bit ordering after a lightning hit. This PIO had two ports used as digit strobes for a display, so the display spelled out everything backwards. Bit 0 came out on bit 7's pin, bit 1 on bit 6's pin, and so on, for both ports. -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads