What is the extenal circuit.?
As usual the code may help.