Hello and thank you for using JustAnswer.com
Remove the distributor cap and crank the engine and let me know if the rotor turns.
we will try that
Get back to me and let me know what you find.
Ok, That is a good thing!
Then most likely your problem is a distributor if you have no spark.
If it didn't spin, then that would mean you have a broken Timing belt
we are pulling a cam shaft positioning sensor code
That is the distributor
The cam sensor is part of the Distributor
so the whole distributor will need to be replaced to resolve your issue.
If you have any more questions on this, please feel free to ask. Thanks Jay!
ok so replaced the distributor and it wanted to start for a second and now the same thing and keeps pulling the same code it is a new distributor just purchased from autozone
CODE IS P0340