DTC P1340, P1341: Camshaft Position Sensor "A" (Bank 1 Sensor 2); Camshaft Position Sensor "A" (Bank 1 Sensor 2): Wiring Diagram
WARNING: This page is about a different car, the 2006 Toyota Land Cruiser. However, it is still accessible from the selected car via links, so may be relevant.
Refer to DTC P0335 .