I started my truck today after having the battery disconnected for 3 day and got a CEL for P0102 and Camshaft position sensor circuit malfunction code. I checked all the wiring and it looks good can't find any issue. I also replace the camshaft position sensor to be safe. Cleared the codes, and boom. P0340 is right back. The truck is running find. It was missing badly prior to the sensor change but now runs great. I can't figure out why its still throwing that code. And to make matters worse next month my emissions inspection is due, and I'm flat broke. Please help. Thanks