\begin{circuit}0

% circuito pasa altos con dos resistores y un capacitor

%inicio
\P1 \.3

%resistor1
\- 2 d
\nl \spring1 {$R_1$} r
\- 2 u \.1


%Capacitor
\atpin .3
\- 2 u \- 2 r
\cc \nl \C1 {$C$} r
\htopin .1
\vtopin .1

\- 1 r \P5

% resistor2
\- 3 d
\nl \spring1 {$R_2$} d
\- 1 d \P4

% Conectores de entrada
\htopin P1
\cc \connection1 {$-$} c l
\atpin P1
\connection2 {$+$} c l
\atpin P1 \shift -1.5 -5
\put{$v_i(t)$}

% Conectores de salida
\atpin P5 \- 1 r
\connection3 {$+$} c r
\atpin P4 \- 1 r
\cc \connection4 {$-$} c r
\atpin P5 \shift 1 -5
\put{$v_o(t)$}



\end{circuit}