\begin{circuit}1

%% Un circuito con un amplificador operacional, un capacitor y un resistor.
%%

% Amplificador
\OV1 {} + {$v^-$} {$v^+$} {}

% Capacitor
\atpin OV1-
\.1
\- 3 l
\cc\nl \C1 {$C$} l
\- 3 l \P1

% Corriente
\frompin .1 \shift -0.5 -1.5  
\nl \whatI1 {$I_C(s)$} d l
\htopin C1l \- 1 l

% Cables al resistor
\atpin .1
\- 5 u
\- 4 r

%
% Resistor
%
\cc\nl \spring1 {$R$} r
\htopin OV1O
\vtopin OV1O \- 1 d \.2

% Corriente
\frompin spring1r \shift 0 -1.2  
\nl \whatI2 {$I_R(s)$} d l
\htopin spring1l

%Conectores
\atpin P1
\connection1 {$V_I(s)$} c l

\atpin .2
\connection1 {$V_O(s)$} c r

% Tierra
\atpin OV1+
\- 1 l
\- 2 d
\gnd1

\end{circuit}