I learned an important lesson, when I tried to get off cheap

and put a air/fuel sensor in place of my 02 sensor. I don't think resistance was high enough and now CEL willn't shut off even after I put in the right 02 sensor (bosch universal $100). What I want to know is where do the wires go that plug into the 02 sensor, do they go into the ECU, cuz I can get a new one for $60, if not I need to trace it on a schematic and find out, or else I threw away $100 and will still have a fuel/air ratio that is too high. Thanks for help!
Oh by the way once I can determine it's the computer I'll take it apart and find what resistor is out of tolerance, and replace. I just don't wanna mess with comp. and risk car not running for $60.