Using a multimeter. What was I thinking of?