replaced wiring to cam sensor, no change. apparently the P0340 error code references the rear sensor?? I swapped the connector on the intake side and there was no change. I then disconnected rear sensor and again no change in code. Just for giggles I pulled the intake side connector and got a different code. so... I then put the previously removed connector (from the intake sensor) to the rear sensor. again no change. I swapped out the rear sensor with a brand new one I got with the connector and still no change in code. Since it is a whopping 8 degrees out while I was doing this, Done for today. Open to suggestions if you have any... computer??