Hi. I have a signal which uses binary non return to zero.. so a logic 0 is represented by a voltage of (about) .33 volts and a 1 represented by about 0.8 volts. I want to use a pic to decode this data, but the NRZ is frustrating me because I dont know how to offset the signal so it corresponds with 'normal' TTL voltages. About the only thing I could think of was to use a 0.33v for the pic ground, and 5.33 for the pic supply ( voltages relative to my signal ground ) a) I dont think it will work and b) Its just doesn't seem right :-) Any pointers greatfully received. Thanks -- Jon Baker -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads