This is my first complete circuit in circuitiks. I'm trying to draw a circuit to show Kirchoff's Law. I was able to draw the nodes and voltages, but putting currents with arrow is giving me trouble.
\documentclass{article}
\usepackage{tikz}
\usepackage[american,siunitx]{circuitikz}
\usepackage{latexsym,amssymb,amsmath}
\usepackage[active,tightpage]{preview}
\PreviewEnvironment{tikzpicture}
\setlength\PreviewBorder{50pt}%
\begin{document}
\begin{tikzpicture} [auto, circuitikz]
%produces error. Without i=$I$, it works
\draw (0,0) to [R=$R_1$, v_=$v_1$, i=$I$, *-*] (2,0)
-| (3,-1)
to [R=$R_2$, v_=$v_2$, *-*] (3,-3)
|- (-1,-4)
to [battery, l = $V$, *-*] (-1,0)
-- (0,0)
(1,-2) node[scale=6]{$\circlearrowright$}
(1,-2) node{$I$};
\end{tikzpicture}
\end{document}
The error that I'm getting is "! Package PGF Math Error: Unknown function `south' (in 'south')."
Secondly, I would like to move the voltage slightly away from the resistors. How can I do this?